> For the complete documentation index, see [llms.txt](https://incubiq.gitbook.io/siww/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://incubiq.gitbook.io/siww/use-cases/nodejs-backend-implementation/7.-debugging-and-q-and-a.md).

# 7. Debugging and Q\&A

Here are a few tips for common errors.

<table><thead><tr><th width="283">Got this Error?</th><th>Check this...</th></tr></thead><tbody><tr><td>Got redirected to /auth/unauthorized (the failureRedirect route)</td><td><p>Looks like the authentication went as planned till the end, but still failed. Check that your <strong>clientSecret</strong> is correctly set (this is probably the problem). </p><p>This most likely happens if you have set the param <strong>enableProof</strong> to true, and you did not pass the correct clientSecret.</p></td></tr><tr><td>Failed to obtain access token</td><td><p>You re probably passing an incorrect callbackURL.</p><p></p><p>The <strong>callbackURL</strong> parameter of the passportSIWW strategy must start with http://...; if you sent a relative path, such as /auth/siww/callback, you just cannot be called back from the SignWithWallet server.</p></td></tr><tr><td>Failed to obtain access token (2)</td><td>Another case of failure is if you pass in the parameters <strong>authorizationURL</strong> or <strong>tokenURL</strong> or <strong>profileURL</strong>, the unsecure <strong>http</strong>://signwithwallet.com/ instead of <strong>https</strong>://signwithwallet.com/</td></tr><tr><td>This application is not properly configured for authentication</td><td><p>You are probably calling with an invalid app_id. </p><p></p><p>The <strong>ClientID</strong> parameter of the <strong>passportSIWW</strong> strategy must be a registered app_id, which you got at configuration time</p></td></tr><tr><td>Could not identify caller!</td><td>This should not show up in normal case. A <strong>refresh</strong> of the page will generally fix it.</td></tr></tbody></table>

If you encounter errors outside this range, do not hesitate to DM use (twitter @SignWithWallet)
