Skip to main content
All CollectionsAPIs
Why is my request failing? (504)
Why is my request failing? (504)

What should you do if your request fails.

Raunaq Singh avatar
Written by Raunaq Singh
Updated over a month ago

If you request fails, you receive the following response with a 504 status code:

{'success': False}

This could happen due to a network issue or a parsing failure.

First thing you should do is to check if the input you have passed in the query parameters are valid. Have a look at the docs and your request carefully.

In many cases, the reason is invalid query params and it isn't possible for us to detect it reliably since sometimes websites respond to scraping attempts with 400, 502, and 404 to requests made to valid destinations.

If the request fails even with a valid input, please follow the suggestions below:

If the reason is a network issue it will be resolved by retrying the request. If the request doesn't succeed after 5 retries. Please reach out to our support team and we will diagnose and release a fix as soon as possible.

Recommended: Keep max retries value as 5 when handling retries for failed requests.

If an issue persists, or if you're getting a 504 response often please reach out to our support team and we will resolve the issue at the earliest.

Even if you don't reach out to our support team, we monitor logs 24x7 and make any fixes necessary in case of failed requests and even send you an error update if required.

Generally, this takes us up to 1 week, depending on resource availability and cause of error.

Did this answer your question?