WhatsApp Token Errors 190, 200 and 131005 Diagnosed

Tell an expired token (190) from missing access (200) and a removed permission (131005), with a decision tree, a debugger routine and the checks for each.

Three error codes cover most authorization failures on the Cloud API: 190, 200 and 131005. They look alike in a log, since all three arrive when a request is rejected before any message logic runs, but they point at different fixes. Regenerating the token solves one of them, granting access solves another and re-adding a permission solves the third. This article gives you a way to tell them apart in minutes.

Error 190: the token expired

Error 190 means the access token has expired, and the fix is to get a new access token. Meta documents it with exactly that description and solution. It is the signature of a temporary token left in a deployed environment, or of a system user token whose chosen expiration passed.

Check which token type the failing environment uses. A user token copied from the API Setup panel expires within hours, while a system user token lasts as long as the expiration preference you chose at generation time. If the failure began at a predictable time after a deployment, the token type is the first suspect.

  • Open the access token debugger with the token from the failing environment.
  • Read the expiry and the type of token.
  • Generate a replacement as a system user token, with a deliberate expiration preference.
  • Store the new value in the secret manager and record the new expiry date.

Error 200: missing access, not an HTTP status

Error code 200 in the response body means the caller lacks the access the endpoint needs, and it is unrelated to the HTTP status 200. Meta explains this on its access token page: when a system user lacks the required access, endpoints return error code 200. A single code carries several documented meanings, so read the message text.

The first meaning is missing business asset access: the system user needs Partial or Full access to both the WhatsApp account and the Messaging account, and access to only one is insufficient. The second, for partners, is missing Advanced access: Meta says accessing accounts your business does not own requires Advanced access to whatsapp_business_management, otherwise calls return code 200.

There is a third, narrower case in Meta's error table: no access token was provided on certain GET endpoints, such as whatsapp_business_profile, where the API may answer with a message asking for a valid app ID. That is a missing Authorization header, not a permission problem, and it is fixed by sending the Bearer token.

Message or contextCauseFix
System user, own businessNo access to one of the two accountsAssign both the WhatsApp account and the Messaging account
Partner reading a customer accountAdvanced access missing or not approvedComplete App Review for whatsapp_business_management
Message asks for a valid app ID on a GETNo token sentAdd the Authorization: Bearer header

Error 131005: permission not granted or removed

Error 131005 means a permission is either not granted or has been removed, and Meta advises using the access token debugger to confirm that the app has the permissions the endpoint requires. It is the clearest of the three: the token is valid, but one of its scopes is absent.

Typical causes are a token generated before a permission was added to the request, a permission revoked by an admin, and the difference between development mode and live mode. In development mode, permissions appear for users with admin, developer or tester roles; in live mode only permissions approved through App Review appear. A token that works for a developer account may fail for a customer's account for exactly that reason.

The required set for a direct integration is business_management, whatsapp_business_management and whatsapp_business_messaging. For webhooks, whatsapp_business_messaging is needed for the messages and calls fields, while whatsapp_business_management covers all the other fields, as Meta's webhooks overview states; the webhooks documentation covers receiving the events.

A decision tree for the first five minutes

Start from the code, not from the symptom. Read the Graph error code from the JSON body, then follow the branch. Most incidents resolve within the first two steps.

  • Code 190: replace the token. Do not touch permissions yet.
  • Code 200 with a system user: check asset access on both accounts.
  • Code 200 for a partner: check Advanced access and App Review status.
  • Code 131005: inspect the permissions in the access token debugger and compare them with the endpoint's requirements.
  • Error 100: a parameter is unsupported or misspelled, so this is a request problem, not authorization.

Notice that error 100 is on the list on purpose. Meta describes it as one or more unsupported or misspelled parameters, and it is easy to mistake for a permissions failure when you are already looking at authorization. Check parameter names and lengths in the endpoint reference before regenerating anything.

Preventing the next incident

The cheapest prevention is a scheduled check that calls a harmless read endpoint with the production token and alerts on any 190, 200 or 131005. It turns a customer-visible outage into a warning that fires before the first real send.

  • Record each token's expiry date next to its secret and alert 14 days before it.
  • Use one system user per environment and keep the asset grants in code or documentation.
  • Log the Graph error code and message on every failed call, and never log the token.
  • Re-run the permission check after any App Review change or role change in Business Settings.

Credentials for calling the Hub itself follow a separate scheme, described in the authentication guide. Keep the two sets of secrets clearly named so that a rotation of one does not break the other.

Example: an incident, step by step

At 09:10 a support alert shows every send failing with code 200. The on-call engineer reads the body and sees no mention of a missing token, so the branch is asset access. She opens Business Settings and finds that the system user used by the production service was reassigned the previous evening: the Messaging account is still assigned, but the WhatsApp account is not.

She assigns the WhatsApp account with the required access, retries one send, and sees success. The postmortem records three actions: a synthetic check on a read endpoint, a rule that asset assignments are changed only through a reviewed script, and a note in the runbook that code 200 has more than one documented meaning. Total outage: forty minutes, most of it spent on the wrong theory.

Frequently asked questions

Does Graph error 200 mean the HTTP request succeeded?

No. Meta explains that error code 200 in the body is different from the HTTP 200 status. It signals missing access, so read the JSON error and not only the status line.

When should I regenerate the token and when should I fix permissions?

Regenerate for error 190, which means the token expired. For 200 and 131005, a new token will not help until the missing asset access or permission is granted.

How do I check which permissions a token has?

Use the access token debugger, as Meta advises for error 131005. It shows the permissions and the expiry of the exact token your service is sending.

Why does the token work for me but fail for a customer?

Meta notes that in development mode permissions appear for admin, developer and tester roles, while live mode shows only permissions approved through App Review. Partners also need Advanced access.

Fontes

Documentação oficial da Meta, conferida em 31 de outubro de 2026.