Error codes · The request itself
Wallet not granted
Code
wallet_not_grantedStatus404
If this was an orderThis request bought nothing
Send it again unchanged?No — change something first
.NET SDK
ResourceNotFoundExceptionWhat it means
The wallet in the address is not granted to your application — or does not exist. Both get the same answer, so the refusal never reveals which wallets exist.
What to do
- Use a wallet id from the wallets list, which shows exactly the wallets your application may use.
- Ask Anis staff to grant the wallet if you need it.
Where you can meet it
- 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 - 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
Example
The body of the refusal. Its type is the address of this page.
{
"type": "https://developers.anis.ly/errors/wallet-not-granted",
"title": "Wallet not granted",
"status": 404,
"code": "wallet_not_granted",
"requestId": "01J9R2K8T4V6XQ0M3B7C5D9E1F"
}