Debugging

Unlike client SDK’s, we do not support Developers Console for server API. We do, however, respond with detailed error messages. Please note the messages in json body.

If your Api Key is wrong, we respond with the following message.

HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Content-Type: application/json; charset=utf-8
...
{"status":400,"error":{"message":"api_key invalid"}}

If the format of metrics is wrong, we respond with the following message.

HTTP/1.1 200 OK
Cache-Control: max-age=0, private, must-revalidate
Content-Type: application/json; charset=utf-8

{"status":400,"error":{"message":"metrics should be an array"}}

Other cases:

  • Missing required parameters
  • When the formats of from, to parameters are wrong
  • Date range exceeds 7 days

Contents