与客户端SDK不同,我们不支持开发者控制台服务器API。 但是,我们确实会提供详细的错误消息。 请注意json正文中的消息。
如果您的Api密钥错误,我们将显示以下消息。
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"}}
如果metrics
格式错误,我们将显示以下消息。
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"}}
其他情况: