YA-GCal-Notion-Sync-Script icon indicating copy to clipboard operation
YA-GCal-Notion-Sync-Script copied to clipboard

Problem with custom Notion domain

Open EstebanMunoz opened this issue 1 year ago • 1 comments

Hi. I was trying to setup this sync but I got an error.

Error: {"object":"error","status":400,"code":"invalid_request_url","message":"Invalid request URL."}
notionFetch	        @ main.gs:421
deleteCancelledEvents	@ main.gs:704
main	                @ main.gs:24

I realized the function parseNotionProperties() is not getting DATABASE_ID as expected (workspace-domain/database-id instead of database-id). I am using a custom domain with a hyphen, in case it is relevant to the regex. I manually changed the DATABASE_ID value and it worked fine.

EstebanMunoz avatar Sep 20 '22 18:09 EstebanMunoz

Do you mind giving an example of a link to a shared database? You can change up your domain and the database id a bit to anonymize it, I just want to do some testing. I thought custom domains should have been working since it was an issue with some users before and was then fixed, so it might be something specific to your case.

hk21702 avatar Sep 27 '22 10:09 hk21702