kxxt/chatgpt-action

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

jsenko opened this issue · 1 comments

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 commented

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.