Errors
Capability and plan errors
Plan gates which chains; capability gates which features on those chains.
Overview
Two independent gates decide whether a call may run: plan / Networks (which chain ids you may use) and capability (what that chain can do on Gray3).
Plan and Networks
plan_chain_denied(403) — chain id not on the subscription allowlistchain_disabled(403) — the chain is allowed by your plan but turned off in Console › Networks, either for the account or for the projectplan_feature_denied(403) — the feature is not included in your plan
Align Console toggles before debugging capability: Align Workspace Networks.
unsupported_capability
HTTP 400. The chain may be allowed, but the feature is not offered on it. For example:
- Testnet prices, NFTs, DeFi, or swap
- Prices on chains that have no price coverage
- Token transfers on a custom EVM chain, which supports native transfers only
- Token transfers on UTXO chains
- Receipts and gas estimates on non-EVM chains, and simulation outside EVM chains and Solana
json
{
"error": {
"code": "unsupported_capability",
"message": "Swap quotes are not available on testnets.",
"retryable": false
}
}Discover before you call
Pass include=capabilities on GET /v1/chains. Status codes: 0 unavailable, 1 partial, and 2 available.
bash
curl -sS "$GRAY_BASE/v1/chains?include=capabilities" \
-H "X-Gray-Project-Id: $GRAY_PROJECT_ID" \
-H "Authorization: Bearer $GRAY_SECRET_KEY"Testnet rule of thumb
Portfolio, balance, activity, gas, and transactions work on testnet ids. Prices, NFTs, DeFi, and swap do not. Details: Testnet endpoints that work.