When it fires
A partner key called a route that acts for one account without aKash-Account header. These routes need it: GET /v1/balance, GET /v1/portfolio, GET /v1/portfolio/positions, POST /v1/trades, POST /v1/trades/{id}/confirm, GET /v1/trades, GET /v1/trades/{id}, GET /v1/traces/{correlationId} and POST /v1/redemptions.
Why it happens
A partner key has no user of its own. It acts for one of your partner accounts at a time, so each such call must say which one. Nothing was done. Markets, quotes and the/v1/partner/accounts routes need no header: the account routes name the account in the path.
How to fix
- Send
Kash-Account: <accountId>with theaccountIdreturned when you created the account. - Send exactly one: more than one
Kash-Accountheader is400 VALIDATION_FAILED.
Related codes
ACCOUNT_NOT_FOUND: the header names an account you do not haveACCOUNT_HEADER_NOT_ALLOWED: the opposite case, the header where it is not allowed