Question

404 redirect after successful OAuth2

  • 15 September 2022
  • 1 reply
  • 205 views

I am updating our Zapier integration to use OAuth2 instead of Basic authentication. I have everything working and the right tokens are getting sent. The only issue I have is after making the connection, the main zapier.com window gets redirected to a bad page (https://zapier.com/app/connections/null?hl=35362708) and the user gets an error page from Zapier

404: Page Not Found

Not all who wander are lost...but you are.

The connection is successfully created and it works fine, but the user is not ending up back on the integration page.

I debugged this a little with dev tools and it looks like after the auth succeeds, Zapier is fetching some metadata from https://zapier.com/_next/data/app-management-f6cb506f0254d18a4bea6c95365584bbf77c0c37/app/connections/null.json?hl=35362708&serviceSlug=null and getting back {"notFound":true} If I change the ‘null.json’ to ‘myapp.json’ then it works fine (and that is the behavior I see with the older version of my integration)

Is this maybe an issue because I am using a Private new version of my integration that is showing up under “Custom integrations” Or is there some metadata that has gotten lost when I converted to the Zapier Platform CLI?

I saw this other post which sounds similar but nobody ever responded 

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 6
Badge +8

Hi @jvert !

I tried to recreate this issue to try to get a closer look, but I couldn’t figure out how to get an API key to authenticate. The instructions on the login window didn’t work for me, as I couldn’t find those elements on the app’s page.

I’m happy to keep an eye out for your response here, but I also want to make sure you know about our excellent platform support team that you can contact while logged in as your developer account from this page.

Thanks!