This appears to be related to the way Oracle stores tablespace name in the database.

Is there a reason you have defined tablespace name in quotes?
Remove quotes from the tablespace name and run the script again.