Skip to main content

How to fix "401 Unauthorized" when accessing a Spell?

What's a 401 Unauthorized error

HTTP 401 error mean that you try to access an authenticated API and you forget or have provided wrong credentials.

How to fix this error

This error is related to your authentication account. You maybe forget to provide your credentials, or you have provided wrong credentials.

Here is a handy checklist:

  • Is my authentication account has been provided on my API?
    You should see an alert or a red indicator on your connector. If you don't see any Configure authentication button, your API must be misconfigured. If it's a public API, contact the Meta API team.

  • Did I copy the right credentials?
    Some APIs can be tricky and need specific API key or credential to retrieve on your account. Don't hesitate to check your provider official documentation or ask the Meta API community.

  • Did I check if I didn't have a space before and after my credential?
    Some copy / paste can add a space before and after your API key, check it.