Error Codes

Complete reference of 32 error codes across 9 categories returned by the Blockchain Service.

Error response formatjson
{
  "error": {
    "code": "BC_1000",
    "message": "Unsupported contract type (must be ERC721, ERC1155, or ERC4907)",
    "http": 400
  }
}

ContractsBC_1000-1099

CodeHTTPNameDescriptionResolution
BC_1000400INVALID_CONTRACT_TYPEUnsupported contract type (must be ERC721, ERC1155, or ERC4907)Use a supported contract type
BC_1001400INVALID_CHAINUnsupported blockchain networkUse GET /chains for supported networks
BC_1002502DEPLOY_FAILEDSmart contract deployment failed on-chainCheck gas price and retry; chain may be congested
BC_1003404CONTRACT_NOT_FOUNDContract ID not foundVerify contract ID with GET /contracts
BC_1004409CONTRACT_ALREADY_VERIFIEDContract already verified on block explorerNo action needed

MintingBC_1100-1199

CodeHTTPNameDescriptionResolution
BC_1100400INVALID_RECIPIENTSRecipients array is empty or contains invalid addressesProvide valid Ethereum addresses
BC_1101402INSUFFICIENT_GASInsufficient gas funds for mintingTop up gas budget or use gas sponsorship
BC_1102400BATCH_TOO_LARGEBatch mint exceeds maximum size (100)Split into smaller batches
BC_1103409DUPLICATE_MINTDuplicate mint detected (idempotency)Use a unique Idempotency-Key header

NFT TicketsBC_1200-1299

CodeHTTPNameDescriptionResolution
BC_1200404TICKET_NOT_FOUNDTicket ID not foundVerify ticket ID
BC_1201409ALREADY_CHECKED_INTicket already used for entryTicket can only be checked in once
BC_1202403TRANSFER_DENIEDTicket transfer policy does not allow transferCheck transfer_policy on the ticket
BC_1203410TICKET_REVOKEDTicket has been revokedContact event organizer

Resale MarketplaceBC_1300-1399

CodeHTTPNameDescriptionResolution
BC_1300404LISTING_NOT_FOUNDResale listing not foundVerify listing ID
BC_1301400PRICE_EXCEEDS_CAPResale price exceeds maximum capLower price to within allowed range
BC_1302409ALREADY_SOLDListing already sold to another buyerBrowse other available listings
BC_1303403NOT_LISTING_OWNEROnly the listing creator can cancelVerify you own the listing

Gas SponsorshipBC_1400-1499

CodeHTTPNameDescriptionResolution
BC_1400402BUDGET_EXHAUSTEDGas sponsorship budget is exhaustedTop up gas budget via POST /gas/budgets/:id/top-up
BC_1401409SPONSORSHIP_PAUSEDGas sponsorship is currently pausedResume sponsorship via POST /gas/budgets/:id/resume
BC_1402400UNSUPPORTED_CHAINGas sponsorship not available on this chainCheck supported chains for gas sponsorship

NFC WristbandsBC_1500-1599

CodeHTTPNameDescriptionResolution
BC_1500409WRISTBAND_ALREADY_LINKEDWristband already linked to a ticketUnlink first or use a different wristband
BC_1501400INVALID_NFC_DATAInvalid NFC tap dataVerify NFC reader configuration
BC_1502402INSUFFICIENT_WALLET_FUNDSInsufficient cashless wallet balanceAdd funds to wristband wallet

ValidationBC_1600-1699

CodeHTTPNameDescriptionResolution
BC_1600400VALIDATION_FAILEDRequest body validation failedCheck request body against API docs
BC_1601400MISSING_REQUIRED_FIELDA required field is missingAdd the required field to the request

Authentication & QuotaBC_1700-1799

CodeHTTPNameDescriptionResolution
BC_1700401UNAUTHORIZEDAuthentication requiredProvide a valid JWT token
BC_1701403FORBIDDENInsufficient permissionsRequest required role from admin
BC_1702429RATE_LIMIT_EXCEEDEDRate limit exceededImplement exponential backoff
BC_1703429QUOTA_EXCEEDEDMonthly quota exceeded for this tierUpgrade subscription tier

GeneralBC_1800-1899

CodeHTTPNameDescriptionResolution
BC_1800500INTERNAL_SERVER_ERRORInternal server errorRetry; if persistent, contact support with request_id
BC_1801503SERVICE_UNAVAILABLEService temporarily unavailableRetry with exponential backoff
BC_1802504TIMEOUTRequest timeoutRetry; blockchain operations may take longer