Error codes · The request itself
Wallet not granted
Code
wallet_not_grantedStatus404
If this was an orderBought nothing — an earlier copy may have: resume the same id
Send it again unchanged?No — change something first
.NET SDK
ResourceNotFoundExceptionAn earlier copy of this order may have gone through
This request bought nothing, but it was refused before Anis looked at the order, so it says nothing about an earlier attempt with the same operation id. Fix the cause first (restore access, or fix how the request is signed), then resume the same id (or read it with GET /orders/{operationId}). Never place it again under a new id.
What 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.
- On an order: refused before Anis looked at the order, so it says nothing about an earlier attempt with the same operation id. Restore access first, then resume the same id (or read it with
GET /orders/{operationId}). Never place it again under a new id. - On a resume: Anis staff may have removed this wallet from your application while the order was unresolved. Read the order with
GET /orders/{operationId}and write to support@anis.ly with the operation id.
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 - GETRead a catalogue card
/v1/wallets/{walletId}/catalog/cards/{cardId} - POSTPlace an order
/v1/wallets/{walletId}/orders - GETList owned cards
/v1/wallets/{walletId}/owned-cards - GETRead an owned card
/v1/wallets/{walletId}/owned-cards/{soldCardId} - POSTReveal a card
/v1/wallets/{walletId}/owned-cards/{soldCardId}/reveal - POSTReveal an invoice
/v1/wallets/{walletId}/invoices/{invoiceId}/owned-cards/reveal - GETGet meter packages
/v1/wallets/{walletId}/meter-packages - GETGet my meter charges
/v1/wallets/{walletId}/meter-charges - POSTCharge a meter
/v1/wallets/{walletId}/meter-charges - GETGet direct recharge products
/v1/wallets/{walletId}/direct-recharge-products - GETRead a direct recharge product
/v1/wallets/{walletId}/direct-recharge-products/{productId} - GETGet recipient locations
/v1/wallets/{walletId}/direct-recharge-products/{productId}/locations - GETQuote a direct recharge product
/v1/wallets/{walletId}/direct-recharge-products/{productId}/quote - GETGet my direct recharges
/v1/wallets/{walletId}/direct-recharges - POSTRequest a direct recharge product
/v1/wallets/{walletId}/direct-recharges
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"
}