Error Response¶
Status code is 400 or higher. Mostly ‘400’.
Error Response is JSON Object that has a key,
message
.
message
is JSON Object that consists ofmsg
anderror_code
.
Structure¶
key |
description |
|
---|---|---|
|
||
|
explanation about what causes the error. |
|
|
code of the error. |
Error Codes¶
While each API has different
error_code
s, there are also commonerror_code
s like the below.
status code |
error code |
description |
---|---|---|
|
|
|
|
|
Your api-key is not allowed to perform this API. Please contact our sales team. |
Example
{
"message": {
"msg": "not authorized",
"error_code": "auth/not-authorized"
}
}