{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"Reporting API Errors","type":"basic","slug":"reporting-api-errors","excerpt":"","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]","updates":[],"order":2,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5f4d276c4ff932005f3e3b44","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Reporting API","slug":"reporting-api","order":1,"from_sync":false,"reference":false,"_id":"5f4d276b4ff932005f3e3b34","version":"5f4d276c4ff932005f3e3b86","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2016-04-21T12:52:47.551Z","__v":0},"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","parentDoc":null,"version":{"version":"8976-Tools","version_clean":"8976.0.0-Tools","codename":"3.35 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5f4d276b4ff932005f3e3b33","5f4d276b4ff932005f3e3b34","5f4d276b4ff932005f3e3b35","5f4d276b4ff932005f3e3b36","5f4d276b4ff932005f3e3b37","5f4d276b4ff932005f3e3b38","5f4d276b4ff932005f3e3b39","5f4d276b4ff932005f3e3b3a","5f4d276b4ff932005f3e3b3b","5f4d276b4ff932005f3e3b3c","5f4d276b4ff932005f3e3b3d","5f4d276b4ff932005f3e3b3e","5b34c737e0dca2000311de6a","5f4d276b4ff932005f3e3b3f","5f4d276b4ff932005f3e3b40","5f4d276b4ff932005f3e3b41","5f4d276b4ff932005f3e3b42","5f4d2af1ca14ec003918818c","5f4e66c5c9098e01d05608cf"],"_id":"5f4d276c4ff932005f3e3b86","project":"57336fd5a6a9c40e00e13a0b","__v":2,"forked_from":"5f076ef5f118570458067d0f","createdAt":"2018-04-23T15:17:35.680Z","releaseDate":"2018-04-23T15:17:35.680Z"},"createdAt":"2016-02-26T15:40:29.125Z","githubsync":"","__v":0}

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.