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

translate service error SyntaxError: Unexpected end of JSON input #10

Open
laterdayi opened this issue Apr 7, 2023 · 1 comment
Open

Comments

@laterdayi
Copy link

translate service error

SyntaxError: Unexpected end of JSON input

It's about messages resulted in 25016 tokens

@Jackiexiao
Copy link

same issue

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at handler (file:///workspaces/chatgpt-i18n/api/fastTranslate.ts:72:33)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server.<anonymous> (/workspaces/chatgpt-i18n/node_modules/@vercel/node-bridge/helpers.js:814:17)

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