#unauthorized
|
401 |
The API key is missing, invalid or no longer active. |
Check the Authorization header. If the key expired or was revoked, create another. |
#insufficient_scope
|
403 |
This key doesn't have the scope the endpoint requires. |
Create a key with that scope. |
#organization_suspended
|
403 |
The organization is suspended. |
Talk to your organization's manager. |
#integrations_not_enabled
|
403 |
The integration isn't enabled for this organization. |
Ask FASTIK for the integration. |
#not_found
|
404 |
That endpoint doesn't exist, or the product isn't in your organization. |
Check the endpoint and the id. |
#method_not_allowed
|
405 |
That endpoint doesn't support that method. |
Use one of the methods in the Allow header. |
#invalid_parameter
|
400 |
A parameter is invalid, or the key is in the URL. |
Fix what detail says. The key goes only in Authorization. |
#invalid_body
|
400 |
The body isn't a valid batch. |
Fix the items in errors and resend the batch. |
#payload_too_large
|
413 |
The body is over 256 KB. |
Split the batch: up to 100 items. |
#unsupported_media_type
|
415 |
The body isn't application/json. |
Send Content-Type: application/json. |
#reference_conflict
|
409 |
That reference already went in with different content, or with another key. |
Don't reuse it. If this is a resend after rotating the key, it already went in: look it up in GET /v1/purchases by its reference. |
#purchase_rejected
|
422 |
A line on the delivery note was rejected; none went in. |
Fix the lines in errors and resend the whole document. |
#invalid_cursor
|
400 |
The cursor doesn't belong to this key, endpoint or filters. |
Request the first page again, without cursor. |
#rate_limited
|
429 |
Too many requests in the minute. |
Wait the seconds in Retry-After and retry. |
#internal_error
|
500 |
Something went wrong. |
Retry in a moment. With the same id, a movement is never applied twice. |
#temporarily_unavailable
|
503 |
This part is being updated. |
Retry after the seconds in Retry-After. |