Skip to main content
Question

Zapier redirect URL for OAuth returns 404 on Zapier

  • 6 June 2024
  • 4 replies
  • 88 views

Hi team, I am working on setting up a Zapier integration using the OAuth v2 flow.

After the user is successfully logged in on our app then the app redirects the user back to the Zapier OAuth redirect url e.g https://zapier.com/dashboard/auth/oauth/return/XXXCLIAPI/. However when the user is redirected to the mentioned Zapier OAuth redirect url with the authorization code appended, it throws a 404 error when it tries to open the Zapier page. I noticed this does not happen when I sign in and authorize with other apps. I also confirmed the redirect URI is the same on my end and Zapier’s end.

 Is it possible i am forgetting to include something, or perhaps the URL provided by Zapier has an issue?

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

4 replies

Userlevel 3
Badge +3

Hi @irv,

This would require looking into the integration to see the authentication set up. I would suggest that you contact our Developer Support team via https://developer.zapier.com/contact so that they can take a look at this.

Cheers,

Hi, I have exactly the same problem:

I started building my integration today and I am setting up the OAuth2 protocol and after generating the authorizationCode, the user is redirected to the redirect_uri: https:/ /zapier.com/dashboard/auth/oauth/return/AppXXXXXXCLIAPI/(code, state...) and I get a 404 error: This is not the page you're looking for. with a call to action 'back to safety'


Has anyone found a solution to this problem?

(PS: my application is not yet deployed, either my software or the Zapier application)

Userlevel 1

Hello, I have also faced the same issue.

When I building my integration and testing the authentication.
after authorize my application, It redirects the zapier redirect URI 

https://zapier.com/dashboard/auth/oauth/return/App20XXXCLIAPI/
and gets an error:

The app returned "Illuminate\Foundation\Http\Middleware\ValidatePostSize". What happened (You are seeing this because you are an admin): Stack trace: ResponseError: {"status":404,"headers":{"content-type":"application/json","retry-after":null},"content":"{\n \"message\": \"\",\n \"exception\": \"Symfony\\\\Component\\\\HttpKernel\\\\Exception\\\\NotFoundHttpException

Please provide the solution.

Thanks

Userlevel 4
Badge +9

Hi 👋

To see the requests being made during the authentication process and which  may be failing, you would want to look at the Monitoring tab: https://platform.zapier.com/build/test-monitoring#monitoring

If you’re still not able to authenticate successfully, please contact developer support via https://developer.zapier.com/contact - making sure to include a link to the API docs you’re trying to connect to, as well as a screenshot of the redirect URI in format https://zapier.com/dashboard/auth/oauth/return/App20XXXCLIAPI/ that you have included within your developer app.

A tutorial here using the Github API shows you where to expect to find that redirect uri setting in your app: