VCS API Documentation
VeChain Stats
  • Introduction
  • Getting Started
    • 🗝️Getting an API Key
    • 🔓Authentication
    • 📬Postman
    • ✳️Swagger
  • API Endpoints
    • Account
      • Account Stats
      • ✨Account Extended Stats
      • Account Info
      • ✨Account VTHO Info
      • VET/VTHO Balance
      • ✨Transactions In
      • Transactions Out
      • ✨Token Transfers
      • ✨NFT Transfers
      • ✨DEX Trades
      • DEPRECATED: Internal Transfers
      • Historic VET/VTHO
    • Token
      • Token List
      • Token Info
      • Token Price
      • ✨Token Price List
      • Token Supply
      • ✨VIP180 Balance
      • VIP180 Balance Custom
      • ✨Token Holder List
    • Transaction
      • Transaction Status
      • Transaction Info
    • Block
      • Block Daily Stats
      • Block Info
      • Block Height
      • Block by reference
      • Block by timestamp
    • Contract
      • Contract Stats
      • Contract Info
      • Contract Code
    • NFT
      • NFT Token List
      • NFT Info
      • ✨VIP181 Balance
      • VIP181 Balance Custom
      • ✨NFT Holder List
    • Carbon
      • Address Emission
      • Block Emission
      • Transaction Emission
      • Network Emission
    • Network
      • Network Totals
      • Network Stats
      • Network Gas Stats
      • Authority Nodes
      • ✨Mempool
      • Node Token Count
      • ✨Node Token Stats
      • Thor Instance Size
      • X-Node List
    • API Info
      • API Info
      • API Ping
  • Support
    • FAQ
    • Rate Limits
    • Response HTTP Status
    • Common Error Messages
    • Socials
    • Change Log
  • Visit VeChain Stats
Powered by GitBook
On this page
  • API Key Errors
  • Date Format Invalid
  • Max rate limit

Was this helpful?

  1. Support

Common Error Messages

This page walks through some of the most common error messages returned when calling the VeChainStats APIs. These calls return a status code '0' and a formulated cause of the error in the result field.

{
   "status":"0",
   "message":"NOTOK",
   "result":"Max rate limit reached, please use API Key for higher rate limit"
}

API Key Errors

"Invalid API Key" "Missing API Key" "Inactive API Key"

These errors occur when the provided API Key doesn't provide access to the requested endpoint (invalid), isn't provided (missing) or isn't active anymore (inactive).

To resolve, ensure that you have copy pasted the right key and your API plan is allowed to ping the requested endpoint.

New API Keys may take a moment to be fully activated, so if your newly created key is returning an error please consider waiting for a few minutes.

Date Format Invalid

Date format invalid: expected format YYYY-mm-dd

Date format invalid: prior genesis block

Date format invalid: in future

This error occurs in different forms. Please make sure to stick to the correct date format requested by the API, the date isn't before VeChain mainnet launch and that the endpoint allows for a date before/after the current date.

Max rate limit

Request limit exceeded for ' ' plan

This error occurs when you exceed the rate limit assigned to your API key.

In some scenarios caching the returns for some period before sending a new request will fix this.

PreviousResponse HTTP StatusNextSocials

Last updated 1 year ago

Was this helpful?

To resolve, adhere to the of your API plan decreasing the rate of your requests or upgrade your plan.

rate limits