Error codes · Permissions and account
Insufficient scope
Code
insufficient_scopeStatus403
If this was an orderThis request bought nothing
Send it again unchanged?No — change something first
.NET SDK
AuthorizationExceptionWhat it means
Your application may not make this call: its permissions do not include the one this route needs, or the call came from an address outside the application’s allowed networks. Both get this same answer on purpose.
What to do
- Read your profile: it lists the permissions your application has right now.
- Check that you call from one of the networks agreed with Anis.
- Ask Anis staff to change either; the change applies to your next call.
Where you can meet it
- GETRead your profile
/v1/profile - GETList wallets
/v1/wallets - GETRead a wallet
/v1/wallets/{walletId} - GETList catalogue categories
/v1/wallets/{walletId}/catalog/categories - GETList subcategories of a category
/v1/wallets/{walletId}/catalog/categories/{categoryId}/subcategories - GETRead a subcategory
/v1/wallets/{walletId}/catalog/subcategories/{subcategoryId} - GETList cards for sale
/v1/wallets/{walletId}/catalog/subcategories/{subcategoryId}/cards - POSTPlace an order
/v1/wallets/{walletId}/orders - GETRead an order
/v1/orders/{operationId} - GETList owned cards
/v1/wallets/{walletId}/cards - GETRead an owned card
/v1/wallets/{walletId}/cards/{soldCardId} - POSTReveal a card
/v1/wallets/{walletId}/cards/{soldCardId}/reveal - POSTReveal an invoice
/v1/wallets/{walletId}/invoices/{invoiceId}/cards/reveal - POSTCheck your signature
/v1/diagnostics/signature
Example
The body of the refusal. Its type is the address of this page.
{
"type": "https://developers.anis.ly/errors/insufficient-scope",
"title": "Insufficient scope",
"status": 403,
"code": "insufficient_scope",
"requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}