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

Not working on web #1

Open
rienkkk opened this issue Dec 7, 2022 · 2 comments
Open

Not working on web #1

rienkkk opened this issue Dec 7, 2022 · 2 comments
Labels
good first issue Good for newcomers

Comments

@rienkkk
Copy link

rienkkk commented Dec 7, 2022

Hi, thanks for the package!

It seems that the package currently is not working on the web.

In the web console I get the following errors:
Refused to set unsafe header "cookie"
and
Refused to set unsafe header "user-agent"

The package itself throws the following error:
ChatGPT failed to refresh auth token: Exception: Failed to refresh access token, token in response is null

@coskuncay
Copy link
Owner

Our base project is https://github.com/transitive-bullshit/chatgpt-api and v2 published yesterday.
image

Pull requests are welcomed :)

@coskuncay coskuncay added the good first issue Good for newcomers label Dec 8, 2022
@aytunch
Copy link

aytunch commented Dec 23, 2022

@coskuncay Hi, thanks for this package.
Is there anything we can do to make this run on flutter web? Is there a limitation on the base project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants