Documentation

AGENT_ACCOUNT_SCOPE_MISMATCH

403auth

The internal-agent token is scoped to a different account.

Cause

The account claim on the agent token does not match the account addressed by the request.

How to fix it

Re-issue the agent token for the target account, then retry.

Example response

403 AGENT_ACCOUNT_SCOPE_MISMATCH
JSON
{
  "error_code": "AGENT_ACCOUNT_SCOPE_MISMATCH",
  "error_type": "auth",
  "error_message": "The internal-agent token is scoped to a different account.",
  "hint": "Re-issue the agent token for the target account, then retry.",
  "docs_url": "https://docs.billerapi.com/errors/AGENT_ACCOUNT_SCOPE_MISMATCH",
  "request_id": "d94f5e2a-8c3b-4f1e-9a7d-6b2c1e0f8a34"
}

Related

Canonical docs URL: https://docs.billerapi.com/errors/AGENT_ACCOUNT_SCOPE_MISMATCH

Was this page helpful?