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

Error: Unauthorized: Please wait a few minutes before you try again. #419

Open
5 of 6 tasks
diegotrasobares opened this issue Aug 1, 2023 · 0 comments
Open
5 of 6 tasks

Comments

@diegotrasobares
Copy link

Please follow the guide below

  • Issues submitted without this template format will be ignored.
  • Rlease read them carefully and answer completely.
  • Do not post screenshots of error messages or code.
  • Put an x into all the boxes [ ] relevant to your issue (==> [x] no spaces).
  • Use the Preview tab to see how your issue will actually look like.
  • Issues about reverse engineering is out of scope and will be closed without response.
  • Any mention of spam-like actions or spam-related tools/libs/etc is strictly not allowed.

Before submitting an issue, make sure you have:

  • Updated to the lastest version v1.6.0
  • Read the README and docs
  • Searched the bugtracker for similar issues including closed ones
  • Reviewed the sample code in tests and examples

Which client are you using?

  • app (instagram_private_api/)
  • web (instagram_web_api/)

Describe your Question/Issue:

Hello everyone! Im having troubles for some days now trying to get username_info. First it starts without problems, but when I arrive to a few users it just gets blocked.
ERROR: instagram_private_api.errors.ClientError: Unauthorized: Please wait a few minutes before you try again.
I already have set up delays between requests, I also have implemented session and cookies login to avoid re-login and also tried using proxies from Bright Data to change between request. Nothing is working
I always get this error and have to wait for a long time before I make another request.
When this happens, my Instagram account looks fine and it is not blocked or something.
How are you guys solving this situation? Any tips?
Thanks to all in advance!!

Please make sure the description is worded well enough to be understood with as much context and examples as possible.


Paste the output of python -V here:

Code:

# Example code that will produce the error reported
from instagram_web_api import Client

api = private_login(USERNAME, PASSWORD, "test_credentials.json")
raw_data = api.username_info(user)

Error/Debug Log:

instagram_private_api.errors.ClientError: Unauthorized: Please wait a few minutes before you try again.
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

1 participant