Aptos · Schema

AptosErrorCode

These codes provide more granular error information beyond just the HTTP status code of the response.

BlockchainWeb3MoveLayer 1CryptocurrencyNFTSmart ContractsDeFiTransactionsAccountsGraphQLgRPC
View JSON Schema on GitHub

JSON Schema

AptosErrorCode.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/aptos/json-schema/AptosErrorCode.json",
  "title": "AptosErrorCode",
  "type": "string",
  "description": "These codes provide more granular error information beyond just the HTTP\nstatus code of the response.",
  "enum": [
    "account_not_found",
    "resource_not_found",
    "module_not_found",
    "struct_field_not_found",
    "version_not_found",
    "transaction_not_found",
    "table_item_not_found",
    "block_not_found",
    "state_value_not_found",
    "version_pruned",
    "block_pruned",
    "invalid_input",
    "invalid_transaction_update",
    "sequence_number_too_old",
    "vm_error",
    "rejected_by_filter",
    "health_check_failed",
    "mempool_is_full",
    "rate_limited",
    "internal_error",
    "web_framework_error",
    "bcs_not_supported",
    "api_disabled"
  ]
}