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

Continuous "Unable to obtain a valid response from Meta AI" Error #50

Open
UsUsStudios opened this issue Nov 12, 2024 · 7 comments
Open

Comments

@UsUsStudios
Copy link

No matter what I do, I get this error when I try to prompt the AI:

  File "C:\Users\HP\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\meta_ai_api\main.py", line 174, in prompt
    return self.retry(message, stream=stream, attempts=attempts)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\HP\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\meta_ai_api\main.py", line 197, in retry
    raise Exception(
Exception: Unable to obtain a valid response from Meta AI. Try again later.

I suspect it's some sort of ratelimit because I have been making a ton of requests to it. When I talk to Meta AI on the website it works, so it can't be an IP ban. If it is a ratelimit, when can I expect it to reset?

@Strvm
Copy link
Owner

Strvm commented Nov 12, 2024

Are you using it while being authenticated?

@UsUsStudios
Copy link
Author

Yes, I am. It worked before

@Strvm
Copy link
Owner

Strvm commented Nov 12, 2024

I think you are probably getting rate limited at the authentication level. When it does happen, could you try logging in manually at https://www.facebook.com/login/?next to see if that is indeed the issue.

@UsUsStudios
Copy link
Author

I can log in to Facebook perfectly fine on the browser. The error doesn't happen when I try to log in, it happens when I run the prompt function. I can see that from the ttraceback.

@josht000
Copy link

Would using the proxy feature, and a good proxy that's not also limited, get around this?

@euclidaxiom
Copy link

I used with frequency in a short time and I get a Cloudflare block for my IP.

@josht000
Copy link

OK. Um i guess illl have to try it.

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

4 participants