{"_id":"5bc48b4f9919d4000df5ea42","category":{"_id":"5bc48b4f9919d4000df5ea34","version":"5bc48b4f9919d4000df5ea7b","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-04-21T12:52:47.551Z","from_sync":false,"order":1,"slug":"reporting-api","title":"Reporting API"},"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","parentDoc":null,"version":{"_id":"5bc48b4f9919d4000df5ea7b","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"5b8ec64c7ef0f4000350182a","createdAt":"2018-04-23T15:17:35.680Z","releaseDate":"2018-04-23T15:17:35.680Z","categories":["5bc48b4f9919d4000df5ea33","5bc48b4f9919d4000df5ea34","5bc48b4f9919d4000df5ea35","5bc48b4f9919d4000df5ea36","5bc48b4f9919d4000df5ea37","5bc48b4f9919d4000df5ea38","5bc48b4f9919d4000df5ea39","5bc48b4f9919d4000df5ea3a","5bc48b4f9919d4000df5ea3b","5bc48b4f9919d4000df5ea3c","5bc48b4f9919d4000df5ea3d","5bc48b4f9919d4000df5ea3e","5b34c737e0dca2000311de6a","5bc48b4f9919d4000df5ea3f"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.27.1 Release","version_clean":"8976.0.0-Tools","version":"8976-Tools"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-26T15:40:29.125Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"The following errors can be returned in response to reporting API requests.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Code\",\n    \"h-1\": \"Name\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"21001\",\n    \"0-1\": \"INVALID_INPUT\",\n    \"0-2\": \"In case of bad input errors, the API returns HTTP code 400, along with information about the error. For example:\\n`Invalid Next Page Token`\",\n    \"1-0\": \"21002\",\n    \"1-2\": \"In case of service errors, the API returns HTTP code 500, along with this message:\\n`BI Reports are currently unavailable; please try again later.`\",\n    \"1-1\": \"GENERAL_REPORT_ERROR\"\n  },\n  \"cols\": 3,\n  \"rows\": 2\n}\n[/block]","excerpt":"","slug":"reporting-api-errors","type":"basic","title":"Reporting API Errors"}

Reporting API Errors


The following errors can be returned in response to reporting API requests.

Code
Name
Description

21001

INVALID_INPUT

In case of bad input errors, the API returns HTTP code 400, along with information about the error. For example:
Invalid Next Page Token

21002

GENERAL_REPORT_ERROR

In case of service errors, the API returns HTTP code 500, along with this message:
BI Reports are currently unavailable; please try again later.