Skip to main content

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?

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)


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


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: