디버깅

클라이언트 SDK와 달리 서버 API 용 Developers Console은 지원하지 않습니다. 그러나 자세한 오류 메시지로 응답합니다. 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"}}

기타 경우 :

  • 필수 매개 변수 누락
  • from,to 매개 변수의 형식이 잘못된 경우
  • 기간이 7 일을 초과한 경우

Contents