Welcome to Tomba Docs! Create a free Tomba account and gain instant access to 400+ million contacts!
Overview

Error Handling

Whenever an API call is not successful, we will return the following response codes:

  • 401 Invalid API key
  • 429 : Rate limit exceeded
  • 400 : Other error
  • 404 : Invalid request
{
  "errors": {
    "type": "unknown_route",
    "message": "Invalid request, please make sure you follow the documentation for proper syntax",
    "code": 404
  }
}
json

Error Codes

Tomba API uses the following error codes:

Error CodeMeaning
400Bad Request – Your request is invalid.
401Unauthorized – Your API key is wrong.
402The Email Verification failed due to an unexpected response from the remote SMTP server. This failure is outside our control; we advise you to retry later.
403Forbidden – The resource requested is hidden for administrators only.
404Not Found – The specified resource could not be found.
405Method Not Allowed – You tried to access a resource with an invalid method.
406Not Acceptable – You requested a format that isn’t JSON.
410Gone – The resource requested has been removed from our servers.
418I’m a teapot.
429Too Many Requests – You're requesting too many resources! Slow down!
500Internal Server Error – We encountered a problem with our server. Try again later.
503Service Unavailable – We’re temporarily offline for maintenance. Please try again later.