Error Response¶
Status code is 400 or higher. Mostly ‘400’.
Error Response is JSON Object that has a key,
message.
messageis JSON Object that consists ofmsganderror_code.
Structure¶
key |
description |
|
|---|---|---|
|
||
|
explanation about what causes the error. |
|
|
code of the error. |
Error Codes¶
While each API has different
error_codes, there are also commonerror_codes like the below.
status code |
error code |
description |
|---|---|---|
|
|
|
|
|
Your api-key is not allowed to perform this API. Please contact our sales team. |
|
|
Request limit exceeded. The request was not accepted because your per-minute or per-hour quota has been reached. No speech is generated. |
Example
{
"message": {
"msg": "not authorized",
"error_code": "auth/not-authorized"
}
}