hk21702 / YA-GCal-Notion-Sync-Script

Script to synchronize between a Notion database and Google Calendar both ways. Uses Google App Script.
GNU General Public License v3.0
139 stars 10 forks source link

"path.database_id should be a valid uuid" #28

Closed tatelax closed 1 year ago

tatelax commented 1 year ago

My DATABASE_ID begins with Calendar-. Notion API doesn't seem to like this.

"Error: {"object":"error","status":400,"code":"validation_error","message":"path failed validation: path.database_id should be a valid uuid, instead was \"Calendar-c590d7c092bc48cb858038fc53e46760\"."}"

If I hardcode the UUID into the URL, I get a new 404 error which says the database cannot be found.

tatelax commented 1 year ago

I solved my issue by not embeding the calendar as part of another page. Once I made the calendar it's own page at the root, it worked.