Error codes · Orders

Purchase not allowed

Codepurchase_not_allowed
Status403
If this was an orderThis request bought nothing
Send it again unchanged?No — change something first
.NET SDKAuthorizationException

What it means

A rule on the Anis business account forbids this purchase.

What to do

  • Contact Anis about the account’s purchase rules; send a new order only once the purchase is allowed.

Where you can meet it

Example

The body of the refusal. Its type is the address of this page.

{
  "type": "https://developers.anis.ly/errors/purchase-not-allowed",
  "title": "Purchase not allowed",
  "status": 403,
  "code": "purchase_not_allowed",
  "requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}