All error codes

account_key_required

HTTP 403 This operation needs an account key

What happened

Projects and their keys (everything under /v1/projects), the money of the account (/v1/billing/...) and the forecast of the whole account (/v1/account/forecast) are read and managed with an account key, and the request came with a key of one project.

What to do

Issue an account key in the client area (API tokens page) and use it for these calls - for billing data, with billing access. The project key keeps working for everything inside its project.

Retrying

Repeating this request will not help.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/account_key_required",
    "title": "This operation needs an account key",
    "status": 403,
    "code": "account_key_required",
    "request_id": "a277dcd1ca652c65"
}

Branch your code on code, never on the wording of title.