You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there,
I'm building a connection between my Rails app and Notion. I finished it 2 days ago and it worked as intended for ~24h... then stopped working:
I can successfully establish a new Notion API client with client = Notion::Client.new(token: '<secret Notion API token>')
Yes, my API key is fresh, Yes, my workspace is connected, Yes the database is shared.
When I call a Notion page NOTION_CLIENT.page(page_id: NOTION_ARTICLE_ID) the process just start buts blocks. I have no response, no error, and it never times out.
I tried creating another Integration, with fresh api key, etc., but no changes
Notion API status says it's all fine.
Does anyone has any idea of what I could be doing wrong?
The text was updated successfully, but these errors were encountered:
Hello Jules, I unfortunately have no idea what could be the cause here—the fact that it worked, and then didn’t, is puzzling.
Here are a few experiments that could help zero in on the root cause:
If you use the same API token and page ID in a separate environment (the bin/console command in this repo, or an online environment like Replit), does it work?
If you restart the Rails server, does it work again? And if so, does it stop working again after some time?
Is the Rails app successfully making other 3rd party API calls when the Notion ones fail?
I’d be happy to pair on this if that helps—you know where to reach out!
Hello there,
I'm building a connection between my Rails app and Notion. I finished it 2 days ago and it worked as intended for ~24h... then stopped working:
client = Notion::Client.new(token: '<secret Notion API token>')
NOTION_CLIENT.page(page_id: NOTION_ARTICLE_ID)
the process just start buts blocks. I have no response, no error, and it never times out.Does anyone has any idea of what I could be doing wrong?
The text was updated successfully, but these errors were encountered: