1. Home
  2. Docs
  3. Data Services
  4. REST-Report API
  5. Error Messages

Error Messages

With incorrect queries, data will not be returned. Instead detailed error messages will be returned. The error messages always have the same format:

{
    "errorCode":170,
    "msg":"Webservice authentication failed [code:170]"
}

The return is a JSON object with two properties:

  • An error number (‘errorCode’), which can be used for possible enquiries for etracker and
  • a message (‘msg’), which contains information on the cause of the error.

In certain cases, no error messages are returned. Instead, an empty JSON array is returned. This happens mostly when the transferred parameter values cause problems. In these cases, it is helpful to check the following error sources first:

  • Are all of the attribute or key figure IDs written correctly?
  • Is the attribute ID for the sortColumn written correctly?
  • Is the value of sortOrder ‘1’ or ‘2’?