Magic
  • English
Go to website
Back
Articles on:Troubleshooting Errors
Get help with the most common errors

Categories

  • Developer FAQ
  • General FAQ
  • Can Magic do...?
  • Blockchain / Web 3.0
  • Troubleshooting Errors
  • Magic Pricing
  • Service Error: REQUEST_NOT_AUTHORIZED_FOR_ADMIN_AUTH
    An error in the console that reads REQUEST_NOT_AUTHORIZED_FOR_ADMIN_AUTH would indicate mismatched API keys. Steps to resolve: Confirm that the backend Magic instance is being created with a secretFew readers
  • Domain mismatched error
    If you're seeing an error like the one below, double check that the Redirect URI you're passing to loginWithMagicLink() has the same domain as your app or website. The redirectURI must have the same base domain as the URL that the request came from (meaning, a user logging into website.com cannot be redirected to website2.com). For more information on how to use Magic with a Redirect URI, check out our [documentation](https://magic.link/docs/api-reference/client-side-sdks/web#loginwithmagiFew readers
  • Error from auth_relayer/UNABLE_TO_REFRESH_SESSION
    Seeing this error in your console? This can be expected. Sometimes Magic will make a call to our backend to see if a user is already logged in, even when they are not expected to be logged in. If you're not experiencing any blockeFew readers
  • I see console errors after a user triggers `loginWithMagicLink`
    Seeing an api call to api.magic.link/v1/auth/user/login/email/status throwing a 401 error in your console? You can ignore this! After the user triggers a login attempt, a poller begins to run in the background, checking to see if the user has clicked the Magic link that was sent to them. You can also ignore anything coming from Rollbar's API, which is a service we use for internal tracking of sdk errors. ![ignorable 401 and 429 errors in the console](https://storage.crisp.chat/users/helpdesFew readers
  • Internal Server Error: Trace ID
    If you encounter an Internal Server error like the one below during the login flow, please message us with your answers to the following questions and all of the requested screenshots, and our team will look into it for you! Please take a screenshot of the error At which point in the login flow did you encounter the error? (example: "after clicking the Magic link, upon returning to the app the error appeared") What browser are you using? Which extensions are enabled? AreFew readers
  • Webcrypto Error
    Magic's sdk uses a package called webcrypto, which will occasionally throw an error like this: This shouldn't affect your app's performance or the login flow at all and can be ignored. If you're experiencing any blockers in addition to the webcrypto error, please let us know and we're happy to help out.Few readers
  • I see a 429 error in the developer console
    If you see a POST request to https://api.rollbar.com/api/1/item/ throwing a 429 error in your console, you can ignore it! We use Rollbar internally to track sdk errors. ignorable 429 and 401 errors in the consoleFew readers
  • App Error: Given app domain and redirect domain mismatched (Magic Dashboard)
    If you're seeing this error when using Firefox to access the Magic Dashboard, try using a different browser. If the error persists, reach out to us!Few readers

Not finding what you are looking for?

Chat with us or send us an email.

  • Chat with us
  • Send us an email

© 2022 Magic

We run on Crisp Knowledge.