Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting error #6

Closed
anaschaudhary33 opened this issue Feb 16, 2022 · 2 comments
Closed

getting error #6

anaschaudhary33 opened this issue Feb 16, 2022 · 2 comments

Comments

@anaschaudhary33
Copy link

Hey I am getting the following error

{
    "responseStatus": "error",
    "errorResp": "Request failed with status code 429",
    "data": "null"
}
@sumithemmadi
Copy link
Owner

if you are trying to search number too often in a short period of time,truecaller server may send a 429 error,for example if your are sending too many request in a short period of time then server will give a response 429.

The most simple way to avoid this error is to reduce the number of requests made in a short period of time. The server is keeping track of how many requests per time unit you make and will enforce it — leading to a temporary block if exceeded.

And remember, receiving a 429 is not necessarily an error, it’s the server’s way of telling you your rate of requests is too high and not willing to accept those actions.

@cha0uki
Copy link

cha0uki commented May 6, 2023

How many requests per minute do you advise?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants