Error codes
When search requests are processed incorrectly, the server response contains the error
tag.
Format:
<error code="error code">
Text description of the error</error>
The table below lists codes and descriptions for common errors that occur when processing search requests.
Error code | Description |
---|---|
1 | The query text (the value passed in the For example, a query was sent that contained only two slash symbols in a row (“//”). |
2 | An empty search query was defined (an empty value was passed in the query element). |
15 | There are no search results for the specified search query. |
18 | The XML file cannot be validated, or invalid request parameters are set. Possible reasons:
|
19 | The search query contains incompatible parameters (for example, incompatible values for the |
20 | The reason for the error is unknown. If the error persists, contact the support service. |
31 | The user is not registered on the service. |
32 | Limit exceeded for the number of queries allowed per day. Review the information about restrictions and choose a suitable method for increasing your daily quota. |
33 | The IP address that the search request was sent from does not match the one(s) set during registration. |
34 | The user is not registered on the Yandex.Passport service. |
37 | Error in request parameters. Maybe mandatory parameters were omitted, or mutually exclusive parameters were defined. |
42 | The key that was issued during registration contains an error. Check whether the correct address is used for sending requests. |
43 | The version of the key that was issued during registration contains an error. Check whether the correct address is used for sending requests. |
44 | The address that requests are sent to is no longer supported. Correct the value to match the address that was given during registration. |
48 | The search type that was specified during registration does not match the search type that is being used for requesting data. Reset the domain that is being used to the correct domain. For corrections, use the URL for sending requests. |
55 | The number of requests sent during a second (RPS) exceeded the allowed value. |
100 | The request was most likely sent by a robot. When this error appears, a CAPTCHA must be returned to the user. |
Error code | Description |
---|---|
1 | The query text (the value passed in the For example, a query was sent that contained only two slash symbols in a row (“//”). |
2 | An empty search query was defined (an empty value was passed in the query element). |
15 | There are no search results for the specified search query. |
18 | The XML file cannot be validated, or invalid request parameters are set. Possible reasons:
|
19 | The search query contains incompatible parameters (for example, incompatible values for the |
20 | The reason for the error is unknown. If the error persists, contact the support service. |
31 | The user is not registered on the service. |
32 | Limit exceeded for the number of queries allowed per day. Review the information about restrictions and choose a suitable method for increasing your daily quota. |
33 | The IP address that the search request was sent from does not match the one(s) set during registration. |
34 | The user is not registered on the Yandex.Passport service. |
37 | Error in request parameters. Maybe mandatory parameters were omitted, or mutually exclusive parameters were defined. |
42 | The key that was issued during registration contains an error. Check whether the correct address is used for sending requests. |
43 | The version of the key that was issued during registration contains an error. Check whether the correct address is used for sending requests. |
44 | The address that requests are sent to is no longer supported. Correct the value to match the address that was given during registration. |
48 | The search type that was specified during registration does not match the search type that is being used for requesting data. Reset the domain that is being used to the correct domain. For corrections, use the URL for sending requests. |
55 | The number of requests sent during a second (RPS) exceeded the allowed value. |
100 | The request was most likely sent by a robot. When this error appears, a CAPTCHA must be returned to the user. |