gpt4free icon indicating copy to clipboard operation
gpt4free copied to clipboard

[OpenaiChat] Response 403: {"detail":"Unusual activity has been detected from your device. Try again later. (8xxxxxxxxxxxxxx5-WAW)"}

Open iG8R opened this issue 1 year ago • 5 comments

Until today, any access to OpenaiChat via the g4f API worked fine, but suddenly it gave the following error, although chat via https://chatgpt.com works fine.

image

image

iG8R avatar May 14 '24 18:05 iG8R

With version 0.3.1.1, still the same result. I've already tried changing the IP via VPN - in some cases the error remains the same, in others it becomes Response 403: Cloudflare detected. What info or logs could I provide to help resolve this issue?

image

image

iG8R avatar May 15 '24 13:05 iG8R

I have the same same issue.

johnroven avatar May 15 '24 14:05 johnroven

i also have same issue . image

itxTouseef74 avatar May 15 '24 15:05 itxTouseef74

Hello, I can confirm I have the same issue in my working environment. Probably related to the recent updates from ChatGPT? @iG8R Did you try to fetch a new .HAR file? I suppose that didn't help to resolve this error?

plia7 avatar May 16 '24 11:05 plia7

With version 0.3.1.2, the g4f API started working, but there are sometimes occurrences with the same aforementioned error and it doesn't depend on the requests' frequency.

image

iG8R avatar May 16 '24 20:05 iG8R

And now the error has changed to

  File "c:\gpt4free\venv\Lib\site-packages\g4f\Provider\needs_auth\OpenaiChat.py", line 421, in create_async_generator
    blob = data["arkose"]["dx"]
           ~~~~~~~~~~~~~~^^^^^^
KeyError: 'dx'

image

iG8R avatar May 17 '24 07:05 iG8R

They changed they prooftoken and maybe the arkose token. I doesn't found a solution for that jet.

hlohaus avatar May 18 '24 07:05 hlohaus

@hlohaus Thank you! Now in version 0.3.1.4 it started working fine.

image

iG8R avatar May 18 '24 15:05 iG8R