Вывод ошибок
| Code | HTTP status code | Response code | Ситуация (сообщение об ошибке) | Error message in english |
|---|---|---|---|---|
| methodNotFound | 200 Ok | 404 Not Found | Метод не найден | Method not found |
| withoutResult |
200 Ok |
404 Not Found |
Отсутствуют результаты поиска |
Results not found |
| incorrectGeography | 200 Ok | 404 Not Found | Геообъект не найден | Geoobject not found |
| forbidden | 403 Forbidden | 403 Forbidden | Ошибка авторизации (параметр 'key' задан неверно) | Authorization error (invalid key) |
| unauthorized | 400 Unauthorized | 400 Unauthorized | Параметр 'key' не задан | key parameter is undefined |
| unsupportedVersion | 400 Bad Request | 400 Bad Request | Неподдерживаемая версия API | Unsupported API version |
| versionIsRequired | 400 Bad Request | 400 Bad Request | Версия API не задана | API version must be set. Supported versions are: |
| unsupportedOutput | 400 Bad Request | 400 Bad Request | Неподдерживаемый тип выходных данных | Unsupported output data type |
| incorrectCallback |
400 Bad Request |
400 Bad Request |
Параметр 'callback' отсутствует или задан неверно |
callback parameter is either absent, or wrong, or its size exceeds 128 characters |
| whatIsEmpty | 400 Bad Request | 400 Bad Request | Параметр 'what' должен быть задан | what parameter must be set |
| whatTooShort | 400 Bad Request | 400 Bad Request | Параметр 'what' должен быть не менее двух символов | what parameter must be at least two characters long |
| whatTooLarge | 400 Bad Request | 400 Bad Request | Параметр 'what' должен быть не более пятисот символов | what parameter must be no longer than 500 characters |
| wherePointIsEmpty | 400 Bad Request | 400 Bad Request | Параметр 'where' или параметр 'point' должен быть задан | Either where or point parameter must be set |
| whereIsEmpty | 400 Bad Request | 400 Bad Request | Параметр 'where' должен быть задан | where parameter must be set |
| whereTooShort | 400 Bad Request | 400 Bad Request | Параметр 'where' должен быть не менее двух символов | where parameter must be at least two characters long |
| whereTooLarge | 400 Bad Request | 400 Bad Request | Параметр 'where' должен быть не более пятисот символов | where parameter must be no longer than 500 characters |
| incorrectRadius | 400 Bad Request | 400 Bad Request | Параметр 'radius' может принимать целочисленные значения от 1 до 40000 | radius parameter must be an integer from 1 to 40000 |
| incorrectPoint | 400 Bad Request | 400 Bad Request | Указана некорректная точка | Incorrect point is set |
| incorrectOrder | 400 Bad Request |
400 Bad Request |
Неверно указан тип сортитовки | Incorrect sorting type |
| incorrectRubricOrder | 400 Bad Request |
400 Bad Request |
Неверно указан тип сортитовки | Incorrect sorting type |
| incorrectPage | 400 Bad Request | 400 Bad Request | Неправильно указан номер страницы | Incorrect page number |
| incorrectPageSize | 400 Bad Request | 400 Bad Request | Неверное значение параметра 'pagesize' | Incorrect value of pagesize parameter |
| incorrectEncoding | 400 Bad Request | 400 Bad Request | Некорректная кодировка запроса | Incorrect query encoding |
| firmRequired | 400 Bad Request | 400 Bad Request | Не указан идентификатор фирмы | Firm ID is undefined |
| firmIdInvalid | 400 Bad Request | 400 Bad Request | Запрашиваемый идентификатор не соответствует требованиям | Incorrect firm ID |
| rubricIdInvalid | 400 Bad Request | 400 Bad Request | Запрашиваемый идентификатор не соответствует требованиям | Incorrect rubric ID |
| hashRequired | 400 Bad Request | 400 Bad Request | Не указан хеш запроса | Query hash is not set |
| hashInvalid | 400 Bad Request | 400 Bad Request | Неправильно указан хеш запроса | Incorrect query hash |
| uncaught (неизвестное) | 500 Internal Server Error | 500 Internal Server Error | Сервис временно недоступен | Service is temporary unavailable |
| serviceUnavailable | 503 Service Unavailable | 503 Service Unavailable | Сервис временно недоступен | Service is temporary unavailable |
| worktimeInvalid | 400 Bad Request | 400 Bad Request | Фильтр worktime имеет некорректный формат | Incorrect value of 'worktime' filter |
| geocoderTooManyWords | 400 Bad Request | 400 Bad Request | Запрос "где" содержит слишком много слов | 'Where' request contains too many words |
| geocoderTimeOut | 500 Internal Server Error | 500 Internal Server Error | Неожиданная ошибка во время поиска: время ожидания истекло | Unexpected error while searching: Search time is out |
| incorrectTypes | 400 Bad Request | 400 Bad Request | Неправильно указан перечень выводимых типов | Incorrect list of geoobjects types |
| queryIsEmpty | 400 Bad Request | 400 Bad Request | Параметр 'q' должен быть задан | q parameter must be set |
| queryTooShort | 400 Bad Request | 400 Bad Request | Параметр 'q' должен быть не менее двух символов | q parameter must be at least two characters long |
| queryTooLarge | 400 Bad Request | 400 Bad Request | Параметр 'q' должен быть не более пятисот символов | q parameter must be not longer than 500 characters |
Формат ответа
Json
Xml
|
|