Error Code

Precisely API errors are returned as a combination of HTTP status codes and the error element.

Error codes return error code along with the error description as shown in the codeblock below:

JSON Fragment:

{"errors": [
      {
      "errorCode": "PB-14020-GEOLIFE-0002",
      "errorDescription": "Profile is invalid or missing."
   },
      {
      "errorCode": "PB-14020-GEOLIFE-0004",
      "errorDescription": "Country Code is invalid or missing."
   }
]}
{
  "errors": [
    {
      "errorCode": "PB-14020-GEOSEARCH-0004",
      "errorDescription": "Invalid Country Code."
    }
  ]
}