Skip to main content

Why did the Enso API return 403?

A 403 with error account_blocked means API access is disabled for the account. Use the error message or portalUrl, and contact the confirmed support channel if you need access restored.

J
Written by Javier Diaz

A 403 Forbidden response with error: "account_blocked" means API access is disabled for the account. Use the error message or portalUrl, and contact the confirmed support channel if you need access restored.

Definition

403 is an authorization failure at the account level. It is not a routing error, and it is not the same as 401 (an invalid or retired key) or 429 (a rate limit or credit quota).

How it works

  • Read the JSON error field. For a blocked account it is account_blocked, with a message that API access is disabled.

  • A portalUrl may be present so you can send the user to the Developer Portal.

  • Do not retry the same key in a tight loop. The request will not start routing until access is restored.

  • Check status.enso.finance only if you also suspect an incident; a 403 is usually account-specific.

How Enso does this

Authentication documents this 403 case separately from 401 invalid_api_key and legacy_key_retired. For help, use the Developer Portal or the public developer chat at https://t.me/enso_shortcuts.

FAQ

Is 403 the same as 401?

No. 401 means the key is invalid or a retired legacy key was used. 403 with account_blocked means access is disabled for the account.

Will I be charged credits for a 403?

Requests rejected before they are processed, including an invalid key, are not charged and do not include x-enso-credits-request. Treat a blocked-account 403 the same way unless a response includes a credit header.

Related articles

  • What does account_blocked mean?

  • Why did the Enso API return 401?

  • Why is there a portalUrl in an Enso error?

  • How do I get an Enso API key?

  • Where are the Enso docs and status page?

Sources

Did this answer your question?