Notion connection frequently fails with 401

Volker

Member
Your Workflow URL
https://connect.pabbly.com/workflow/mapping/IjU3NjYwNTY1MDYzZjA0MzY1MjY4NTUzNzUxMzYi_pc
Your Task History ID
IjU3NjUwNTY1MDYzNjA0MzY1MjZmNTUzMjUxMzI1MTY2NTQzNzBmMzAi_pc
Consent to Access & Modify
I authorize Pabbly Support to log in to my account and make changes to the specified workflow for troubleshooting.
Hi Pabbly team,

I am experiencing a recurring issue with my Notion connection in Pabbly Connect and would like some help troubleshooting it.

I’m using Pabbly Connect to send data from a webhook to Notion.

Every few days I receive an email from Pabbly that a task failed with the following error (excerpt):
  • status: 401
  • code: unauthorized
  • message: API token is invalid
  • OAuthException > error: invalid_grant
  • OAuthException > error_description: Invalid refresh token
After that, I log into Pabbly, open the Notion step, update/reconnect the Notion connection once, and everything works again for a while. Then, after a few days, the same error appears again.

My questions:
  1. Is this a known issue with the Notion integration or OAuth handling?
  2. Is there a permanent fix so that I don’t have to manually re-authorize Notion every few days?
  3. Is there a recommended best practice for keeping a Notion connection stable across multiple workflows (without recreating the connection and updating every single workflow)?
Any guidance or a workaround would be greatly appreciated.
If you need more details (Task History ID, timestamps, screenshots), I’m happy to provide them.
 
Top