![]() ![]() You can configure your code to immediately retry the request and in most cases it will be successful. In cases where a request fails after 60 seconds of retying, you will not be charged for the unsuccessful request (you are only charged for successful requests, 200 and 404 status codes).Įrrors will inevitably occur so on your end make sure you catch these errors. Note: To avoid timing out your request before the API has had a chance to complete all retries, remember to set your timeout to 60 seconds. ScraperAPI will retry failed requests for up to 60 seconds to try and get a successful response from the target url before responding with a 500 error indicating a failed request. The API will return a specific status code after every request depending on whether the request was successful, failed or some other error occurred. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |