When it fires
The account named in theKash-Account header or the {accountId} path segment is not one of your partner accounts.
Why it happens
- The id is mistyped or malformed, or belongs to the other environment (a staging id used against production, or the other way round).
- You released the account. A released account is no longer yours to act for.
How to fix
- Check the id against the
accountIdyou received when you created the account. Look an account up by your own user id withGET /v1/partner/accounts?externalId=<your user id>. - Make sure the key and the account id come from the same environment.
Related codes
ACCOUNT_NOT_ACTIVE: the account is yours, but its status does not allow the requestACCOUNT_HEADER_REQUIRED