API Errors

You are here:
< All Topics

In case you run an invalid code string and API does not succeed you will ecounter a JSON error response with an error and a message which will help you fixing the error.

Example error: 

http: //api.datalastic.com:3000/api/v0/country?api-key=111&iso2=V1

{
  "meta": {
    ...
    "message": {
      "iso2": "must be a valid two-letter country code"
    },
      "success": false
  }

}

Table of Contents