Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Got "Error: ChatGPT failed to refresh auth token. Error: 403 Forbidden" #43

Open
jsenko opened this issue Jan 4, 2023 · 1 comment
Open

Comments

@jsenko
Copy link

jsenko commented Jan 4, 2023

Hi, thanks for the cool project, but I got the following error:

image

Google didn't help, I tried to refresh the token but got the same error. Any ideas?

@kxxt
Copy link
Owner

kxxt commented Jan 6, 2023

Hi @jsenko ,

OpenAI has enabled cloudflare on their website, which made old version of transitive-bullshit/chatgpt-api stop working.

There is a new version of chatgpt-api that circumvent this problem by using puppeteer but it requires nodejs 18 now.

Unfortunately, github action only supports node.js 16 now. So we are out of luck now.

There is another kind of github action which uses docker but personally I don't want to change this repo into a docker action.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants