# API Errors

### Shifter's Scraping API uses the following HTTP error codes

| Error Code                      | Meaning                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **400**                         | Bad Request – Your request is invalid or has invalid parameters. This error code along the error message is also sent when the URL could not be properly scraped.                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| <p><br><strong>401</strong></p> | <p><br>Unauthorized – Your API key is wrong or invalid or your credit quota is exceeded.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| <p><br><strong>403</strong></p> | <p><br>Forbidden – You do not have sufficient rights to a resource such as JavaScript rendering or country specific geolocation. Please upgrade your subscription plan accordingly.</p>                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <p><br><strong>406</strong></p> | <p><br>Not Acceptable – You requested a format that is not supported.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| <p><br><strong>422</strong></p> | <p><br>Unprocessable Entity - Your request was correct but the API failed to fulfill it. You can receive this code in one of the following situations:<br>\* the target website returned a CAPTCHA challenge under status 200 OK<br>\* the target website returned a CAPTCHA challenge after a request with <code>render\_js</code> disabled<br>\* the response HTML does not contain a tag<br>\* the target website is an Instagram profile and the response is the Instagram login page<br>\* you used the <code>wait\_for\_css</code> parameter and the selector does not exist/appear on the website</p> |
| <p><br><strong>429</strong></p> | <p><br>Too Many Requests – You’re making too many requests in short succession or too many parallel requests. This error code is also thrown by Google when the API is detected.</p>                                                                                                                                                                                                                                                                                                                                                                                                                         |
| <p><br><strong>500</strong></p> | <p><br>Internal Server Error – We had a problem with our server. Try again later.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| <p><br><strong>503</strong></p> | <p><br>Service Unavailable – We’re temporarily offline for maintenance. Please try again later.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
