-
Notifications
You must be signed in to change notification settings - Fork 44
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
ChatGPT failed to refresh auth token: Exception: Failed to refresh access token, 403 #7
Comments
https://github.com/DiamondLionLV/flutter_chatgpt_api Try adding this package to your pubspec.yaml and then change your initialization code to this: _api = ChatGPTApi(
sessionToken: SESSION_TOKEN,
clearanceToken: CLEARANCE_TOKEN,
userAgent:
'your user agent',
); You can find user agent at Dev Tools -> Network -> Headers For example mine is The only issue is that you will still get Exception rate limited error which hasn't been solved yet. |
@DiamondLionLV I still get the 403 refresh access token error despite I added your package to pubspec.yaml file and added user-agent on the initialisation code. |
Facing the same issue. I inspected a bit and it seems the NPM version of ChatGPT api faced the same issue 2 weeks ago. |
Is anyone able to run the package successfully in Flutter? I see this specific issue on transitive-bullshit is closed now. |
This gives a 403 as mentioned by @ngjunya |
There is an issue with Tokens, @DiamondLionLV , |
Facing the same issue: __conversationId & parentMessageId is null in the documentation example |
Here is a link to flutter ChatGPT Application Repository for reference |
still getting the same error . Issues with token with session token and clearance token . I made a demo project like this https://github.com/ngjunya/flutter_chatgpt_example. It is working fine . |
No description provided.
The text was updated successfully, but these errors were encountered: