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

Unexpected end of JSON output when saving full chat. #43

Open
FunMelon opened this issue Nov 20, 2024 · 3 comments
Open

Unexpected end of JSON output when saving full chat. #43

FunMelon opened this issue Nov 20, 2024 · 3 comments

Comments

@FunMelon
Copy link

  • Microsoft Edge version: 122.0.2365.92
  • ChatGPT to Notion version: 1.9.4

Every time when I try saving full chat I meet this bug, and I also try chrome but met the same bug. However it works well in my friend' s comupter.
image
I try to read the console log, and I guess It takes html as JSON.
image

@FunMelon
Copy link
Author

I try to modify the index.js to see the response of the code blow:

let r = await fetch("https://chatgpt.com/backend-api/conversation/" + e, { method: "GET", headers: t, credentials: "include" });

And I see it returns the Cloudflare check website, so the JSON parse went wrong.
3f88b5ce9b81206a2ff286719529914d
As a Chinese developer, I have to use Clash to access the openai website, so pity!

@wtnan2003
Copy link

Same problem. have you solved now? @FunMelon

@FunMelon
Copy link
Author

Same problem. have you solved now? @FunMelon

No

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

No branches or pull requests

2 participants