Search documentation

Search across BlockBee docs, API endpoints, webhooks and guides.

Error Handling

View as Markdown

This page covers the errors the BlockBee API returns and how to handle each one.

Common Issues and Solutions

Funds Stuck in Address

Issue: Funds appear to be stuck in a cryptocurrency address and aren't being processed.

Possible Causes:

  • Wrong cryptocurrency sent to the address. Eg. requested funds with bep20/usdt ticker and sent bep20/usdc
  • Wrong network (e.g., sending ERC-20 tokens to BSC address)
  • Minimum transaction amount not met

Solutions:

  • Check if the address is valid for the specific cryptocurrency
  • Verify the minimum transaction amount for the cryptocurrency
  • If the wrong cryptocurrency was sent, contact support.

Transaction Not Confirmed

Issue: Transaction is sent but remains unconfirmed for an extended period.

Possible Causes:

  • Network congestion
  • Transaction stuck in mempool

Solutions:

  • Wait for network confirmation (can take 1-24 hours depending on the network)
  • Check transaction status using the blockchain explorer

API Key Issues

Issue: API requests failing with authentication errors.

Possible Causes:

  • Missing or wrong API key in request
  • Account suspended or deactivated

Solutions:

  • Verify your API key in the BlockBee Dashboard
  • Ensure API key is included in all requests (as parameter or header)
  • Check if your account is active and in good standing
  • Generate a new API key if necessary

Callback URL Problems

Issue: Webhook notifications not being received.

Possible Causes:

  • Invalid or inaccessible callback URL
  • Server not responding to webhook requests
  • Firewall blocking incoming requests
  • SSL certificate issues

Solutions:

  • Ensure callback URL is publicly accessible
  • Test the URL manually to verify it responds
  • Check server logs for incoming webhook requests
  • Verify SSL certificate is valid (for HTTPS URLs)
  • Make sure your webhook signature verification is working
  • Allowlist BlockBee's IPs (51.77.105.132 and 135.125.112.47) in your firewall or Cloudflare rules.

Error Response Format

When a request fails, the API returns JSON with "status": "error" and an error field that describes the problem, as in this HTTP 401 answer to a request without an API key:

JSON
{
  "status": "error",
  "error": "API Key not provided, please use api.cryptapi.io if you don't have an API key"
}

Check the status field as well as the HTTP status code.

Common Errors

Many endpoints share these errors. Each API reference page says which of them apply to it.

ErrorHTTPCause
API Key not provided, please use api.cryptapi.io if you don't have an API key401The request has no apikey query parameter or header, or it is empty.
API Key not valid, please confirm your API key401The key is wrong or no longer valid, its profile is disabled or deleted, or your account is deactivated.
API Key not allowed from IP address 203.0.113.7, check the IP whitelist in your BlockBee Dashboard403Your API key has an IP whitelist, and the request came from an IP address that isn't on it.
Your KYC tier is insufficient to use this feature401Your recent volume is above the limit of your KYC level. This applies when you create payment addresses, checkouts, deposits and subscriptions, and when you read payment address logs.
APIs down for maintenance, please check back in a few minutes503The API is down for maintenance. Retry in a few minutes.
API down for maintenance, please check back in a few minutes503This blockchain is down for maintenance. The create, logs, info and estimate ticker endpoints send it with HTTP 503, the payout process endpoints with 400. Retry in a few minutes.
Request contains characters that are not allowed.400A parameter contains a character we can't store, such as a NUL character.
Domain 'shop.example.com' is not verified for this profile. Verify it in the BlockBee Dashboard.400Domain verification applies to your account, and the URL's domain isn't verified for this profile. See Domain verification.
IP address URLs are not allowed. Use a verified domain.400Domain verification applies to your account, and the URL uses an IP address instead of a domain.
Domain verification is temporarily unavailable, please try again later.503We couldn't check the domain. Nothing is wrong with your domain: retry later.
Chain "XYZ" is not supported400The network in ticker isn't supported, for example xyz/usdt.
BEP20 token "XYZ" is not supported400The token in ticker isn't supported on that network. The message starts with the network, such as ERC20, TRC20 or POLYGON.
SOL token "XYZ" is not supported400The Solana token in ticker isn't supported.
TON token "XYZ" is not supported400The TON token in ticker isn't supported.
Resource not found404The URL matches no endpoint, for example because of a typo in the path or an unknown ticker.
Server error500Something failed on our side. Retry later, and contact support if it persists.

Errors by Endpoint

Each API reference page lists the errors of its endpoint: