Application Service > API Gateway > Error Code
Ban Request
[Note] Ban requests
- If your request is banned, a ban request error code is returned, and the ban is disabled after a certain period of time.
- In the event that your request is banned if you link a backend endpoint service with abnormal operating condition or response (timeout) is delayed for more than 60 seconds, it is recommended to not link any APIs.
HMAC
| result code |
resultMessage |
Description |
| 4011001 |
Authorization is empty. |
Authorization request header does not exist. |
| 4011002 |
HmacAlgorithm is empty or not supported algorithm |
Encryption algorithm is not supported or algorithm is not specified. |
| 4011003 |
Signature is empty. |
There is no signature information. |
| 4011004 |
Not include some headers credential. |
Required validation header is not included in the request header. |
| 4011005 |
x-nhn-date header is empty. |
x-nhn-date request header does not exist. |
| 4011006 |
Invalid x-nhn-date format. ISO Datetime format (yyyy-MM-dd'T'hh:mm:ssZ) |
Date data format of x-nhn-date is invalid. |
| 4011007 |
expired |
The request is expired. |
| 4011008 |
Authorization is invalid. |
The authentication information of the request is invalid. |
| 4011009 |
Authorization header must start with the string hmac. |
Invalid because the authorization request header value does not start with hmac. |
JWT
| result code |
resultMessage |
Description |
| 4012002 |
Authorization is empty. |
Authorization request header does not exist. |
| 4012001 |
Token type is invalid. |
Authorization request header’s token type is invalid. |
| 4012001 |
Toekn is invalid. |
Authentication failed due to invalid token value. |
| 5012001 |
jwks url is unavailable. |
The JWKS URL is not in service. |
| 5012002 |
jwks format is invalid. |
The reply of JWKS URL does not match the form of JWKS. |
Pre-call API
IP ACL
Request Size Exceeded
Response Size Exceeded
- Cause: Occurs when the response size exceeds 10MB.
- When the response size exceeds 10MB, the API Gateway server disconnects the client.
- The following items are recorded in the access log.
- Response HTTP Status: 500
- Error code: 500000001
- Error message: The download size of the response body has been exceeded. the permissible limit is 10mb.
Request Number Limit
Request Quota Limit
Invalid URI error
Could Not Find The Path Or Method
Backend Endpoint Service Connection Error
- Cause: Occurs when backend endpoint does not respond or refuses to respond.
- Response HTTP Status: 503 Service Unavailable
- Error response body
{
"header" : {
"resultCode" : 5030001,
"resultMessage" : "Upstream Service Unavailable ({error detail message})",
"isSuccessful" : false
}
}
- Cause: Occurs when backend endpoint does not respond or refuses to respond.
- Response HTTP Status: 502 Bad Gateway
- Error response body
{
"header": {
"isSuccessful": false,
"resultCode": 5020001,
"resultMessage": "Upstream Bad Gateway ({error detail message})"
}
}
API Key
| result code |
resultMessage |
Description |
| 4031010 |
Request api key is empty. |
x-nhn-apikey request header does not exist. |
| 4031011 |
Request api key is inactive. |
Requested API key is inactive. |
| 4031012 |
Request api key is invalid. |
Requested API key is invalid. |
Error in Setting Context Variables
Invalid Client Request
Failure in Request Validation
Gateway maximum response timeout