В следующей таблице перечислены коды ошибок, которые могут возникнуть при вызове API. Если после вызова API возвращается код ошибки, начинающийся с APIGW, устраните неисправность, обратившись к инструкциям, приведённым в разделе "Error Codes" в API Request Signing Guide.
Код ошибки | Сообщение об ошибке | Код состояния HTTP | Описание | Решение |
|---|---|---|---|---|
APIG.0101 | API не существует или не был опубликован в среде. | 404 | API не существует или не был опубликован в среде. |
Для получения подробной информации см. FAQs. |
APIG.0101 | API не существует. | 404 | Метод запроса API не существует. | Проверьте, совпадает ли метод запроса API с методом, определённым в API. |
APIG.0103 | Бэкенд не существует. | 500 | Сервис бэкенда не найден. | Обратитесь в техническую поддержку. |
APIG.0104 | Плагины не существуют. | 500 | Конфигурации плагинов не найдены. | Обратитесь в техническую поддержку. |
APIG.0105 | The backend configurations do not exist. | 500 | No backend configurations were found. | Contact technical support. |
APIG.0106 | Orchestration error. | 400 | An orchestration error occurred. | Check whether the frontend and backend parameters of the API are correct. |
APIG.0107 | The custom lua script encountered an unexpected error. | 500 | An unknown error occurred in the Lua script. | Contact technical support. |
APIG.0201 | API request error. | 400 | Invalid request parameters. | Проверьте, является ли формат запроса действительным. |
APIG.0201 | Request entity too large. | 413 | The request body exceeds 12 MB. | Уменьшите размер тела запроса. |
APIG.0201 | Request URI too large. | 414 | The request URI exceeds 32 KB. | Уменьшите размер URI запроса. |
APIG.0201 | Request headers too large. | 494 | The request headers are too large because one of them exceeds 32 KB or the total length exceeds 128 KB. | Уменьшите размер заголовков запроса. |
APIG.0201 | Backend unavailable. | 502 | The backend service is unavailable. |
Для получения подробной информации см. FAQs. |
APIG.0201 | Backend timeout. | 504 | The backend service has timed out. | Увеличьте длительность тайм‑аута бэкенд‑сервиса или сократите время обработки. |
APIG.0201 | An unexpected error occurred. | 500 | An internal error occurred. | Обратитесь в техническую поддержку. |
APIG.0202 | Backend unavailable. | 502 | The backend is unavailable. | Проверьте, соответствует ли протокол запроса к бэкенду, настроенный для API, протоколу запроса, используемому службой бэкенда. |
APIG.0203 | Backend timeout. | 504 | The backend service has timed out. | Увеличьте длительность тайм‑аута службы бэкенда или сократите время обработки. |
APIG.0204 | SSL protocol is not supported: TLSv1.1. | 400 | The SSL protocol version is not supported. | Используйте поддерживаемые TLS 1.1 и TLS 1.2 (рекомендовано). |
APIG.0205 | Verify client certificate failed. | 400 | Failed to verify the client certificate. | Проверьте, корректен ли клиентский сертификат. |
APIG.0301 | Неправильная информация аутентификации IAM. | 401 | Сведения об аутентификации IAM неверны. | Проверьте, что метод запроса, путь, параметры запроса и тело запроса соответствуют тем, которые использовались для подписи. Проверьте, что время клиента правильно. Для получения подробной информации см. FAQs. |
APIG.0302 | Пользователь IAM не имеет прав доступа к API. | 403 | Пользователю IAM не разрешён доступ к API. | Проверьте, ограничен ли пользователь черным или белым списком. |
APIG.0303 | Неправильная информация аутентификации приложения. | 401 | Сведения об аутентификации приложения неверны. | Проверьте, что метод запроса, путь, строки запроса и тело запроса соответствуют тем, которые использовались для подписи; проверьте, что дата и время на клиенте правильные; Для получения подробной информации см. FAQs. |
APIG.0304 | Приложение не имеет прав доступа к API. | 403 | Приложению не разрешён доступ к API. | Проверьте, привязан/авторизован ли credential к API. |
APIG.0305 | Неверная authentication information. | 401 | Authentication information неверна. | Проверьте, правильна ли authentication information. |
APIG.0306 | API access denied. | 403 | Access to the API не разрешен. | Проверьте, авторизованы ли вы для доступа к API. |
APIG.0307 | Токен необходимо обновить. | 401 | Токен требуется обновить. | Получите новый токен из IAM. |
APIG.0308 | Порог throttling достигнут. | 429 | The throttling threshold has been reached. | Try again after the throttling resumes. If the number of debugging domain requests per day is reached, bind an independent domain name to the service to which the API belongs. |
APIG.0310 | The project is unavailable. | 403 | The project is currently unavailable. | Select another project and try again. |
APIG.0311 | Incorrect debugging authentication information. | 401 | The debugging authentication details are incorrect. | Contact technical support. |
APIG.0312 | Incorrect third-party authentication information,auth fail. | 401 | The authentication failed because the third-party authentication information is incorrect. | Check whether the identity information is correct. |
APIG.0313 | Incorrect third-party authentication information,identities error. | 401 | The identity included in the third-party authentication information is incorrect. | Check whether the identity information is consistent with the identity source in the third-party authentication plug-in. |
APIG.0314 | Incorrect third-party authentication information,access deny. | 403 | Access denied because the third-party authentication information is incorrect. | Contact technical support to check whether the request is a service request. If yes, increase the brute force threshold of the third-party authentication plug-in. |
APIG.0401 | Unknown client IP address. | 403 | The client IP address cannot be identified. | Contact technical support. |
APIG.0402 | The IP address is not authorized to access the API. | 403 | The IP address is not allowed to access the API. | Check whether the IP address is restricted by the API access control. |
APIG.0403 | IP-адрес недоступен. | 403 | IP-адрес не разрешён для доступа к API. | Проверьте, ограничен ли IP-адрес контролем доступа шлюза. |
APIG.0404 | Доступ к IP-адресу бэкенда отклонён. | 403 | IP-адрес бэкенда недоступен. | Проверьте, доступен ли IP-адрес бэкенда или IP-адрес, соответствующий доменному имени бэкенда. |
APIG.0405 | Приложение не доступно из доверенного IP-адреса. | 403 | Приложение не доступно из доверенного IP-адреса. | Проверьте, разрешён или отклонён ли исходный IP-адрес в политике контроля доступа. |
APIG.0501 | Квота приложения исчерпана. | 405 | Квота приложения достигнута. | Увеличьте квоту app. |
APIG.0502 | Приложение app заморожено. | 405 | Приложение app заморожено. | Проверьте, достаточно ли средств на вашем счёте. |
APIG.0601 | Внутренняя ошибка сервера. | 500 | Произошла внутренняя ошибка. | Обратитесь в техническую поддержку. |
APIG.0602 | Некорректный запрос. | 400 | Недопустимый запрос. | Проверьте, корректен ли запрос. |
APIG.0605 | Не удалось выполнить разрешение имени домена. | 500 | Domain name resolution failed. | Check whether the domain name is correct and has been bound to a correct backend address. |
APIG.0606 | Failed to load the API configurations. | 500 | API configurations could not be loaded. | Contact technical support. |
APIG.0607 | The following protocol is supported: {xxx}. | 400 | The protocol is not supported. Only xxx is supported. xxx is subject to the actual value in the response. | Use HTTP or HTTPS to access the API. |
APIG.0608 | Failed to obtain the admin token. | 500 | The administrator account details cannot be obtained. | Contact technical support. |
APIG.0609 | The VPC backend does not exist. | 500 | The workload backend service cannot be found. | Contact technical support. |
APIG.0610 | No backend available. | 502 | No backend services are available. | Check whether all backend services are available. For example, check whether the API calling information is consistent with the actual configuration. |
APIG.0611 | The backend port does not exist. | 500 | The backend port was not found. | Contact technical support. |
APIG.0612 | An API cannot call itself. | 500 | An API cannot call itself. | Измените конфигурации бэкенда и убедитесь, что количество уровней рекурсивных вызовов API не превышает 10. |
APIG.0613 | The IAM service is currently unavailable. | 503 | IAM is currently unavailable. | Обратитесь в техническую поддержку. |
APIG.0615 | Incorrect third-party authentication VPC information. | 500 | Failed to obtain the load balance channel nodes for third-party authentication. | Check whether the load balance channel for third-party authentication is correctly configured. |
APIG.0616 | Incorrect third-party authentication request information. | 500 | Failed to connect to the third-party authentication service. | Check whether the third-party authentication service is normal. |
APIG.0617 | Incorrect third-party authentication response information. | 500 | Failed to obtain response from the third-party authentication service. | Check whether the third-party authentication service is normal. |
APIG.0705 | Backend signature calculation failed. | 500 | Backend signature calculation failed. | Contact technical support. |
APIG.0802 | The IAM user is forbidden in the currently selected region. | 403 | The IAM user is disabled in the current region. | Contact technical support. |
APIG.2102 | PublicKey is null. | 400 | The signature key is not found. | Contact technical support. |
APIG.2201 | Appkey or SecretKey is invalid. | 400 | Invalid AppKey or SecretKey. | Check whether the AppKey and SecretKey in the request are correct. |
APIG.2202 | Refresh token is invalid. | 400 | Invalid refresh token. | Check whether the refresh token is correct. |
APIG.2203 | Access token is invalid. | 400 | Invalid access token. | Check whether the access token is correct. |
APIG.2204 | ContentType invalid. | 400 | Invalid ContentType. | Check whether the ContentType is correct. |
APIG.2205 | Auth parameter invalid. | 400 | Invalid authentication parameter. | Check whether the authentication parameters are correct. |
APIG.2206 | Auth method invalid. | 400 | Invalid authentication mode. | Check whether the authentication mode is correct. |
APIG.2208 | The length of through_data is out of range. | 400 | The length of through_data is out of range. | The maximum length of through_data is 300. Adjust through_data as required. |
APIG.2209 | The value of grant_type is not in enum List. | 400 | The value of grant_type is invalid. | Значение grant_type может быть только client_credentials или refresh_token. Измените grant_type при необходимости. |
APIG.2210 | Отсутствует grant_type. | 400 | Тип авторизации отсутствует. | Добавьте grant_type. |
APIG.2211 | Отсутствует client_id. | 400 | client ID отсутствует. | Добавьте client ID. |
APIG.2212 | Отсутствует client_secret. | 400 | client secret отсутствует. | Добавьте client secret. |
APIG.2213 | Отсутствует refresh_token. | 400 | The refresh token is missing. | Contact technical support. |
APIG.1001 | Refresh token is expired. | 401 | The refresh token has expired. | Obtain another refresh token. |
APIG.1002 | Access token is expired. | 401 | The access token has expired. | Obtain another access token. |
APIG.1003 | App not match refresh token. | 401 | The app does not match the refresh token. | Check whether client_id is correct. |
APIG.1004 | App not exist. | 401 | The app does not exist. | Проверьте, правильный ли access token. |
APIG.1009 | AppKey or AppSecret is invalid. | 400 | The AppKey or AppSecret is invalid. | Проверьте, совпадает ли AppKey или AppSecret в запросе с ключом или секретом учетных данных. |