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

The tool does not work - Error: failed to pipe response #33

Open
joaodejesus opened this issue Apr 3, 2024 · 7 comments
Open

The tool does not work - Error: failed to pipe response #33

joaodejesus opened this issue Apr 3, 2024 · 7 comments

Comments

@joaodejesus
Copy link

I carried out all the steps, and added the Openai API, and when I ask to translate I simply receive the following error message:

⨯ Error: failed to pipe response at pipeToNodeResponse (C:\Users\userName\Downloads\srt-ai\node_modules\next\dist\server\pipe-readable.js:111:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async sendResponse (C:\Users\userName\Downloads\srt-ai\node_modules\next\dist\server\send-response.js:40:13) at async doRender (C:\Users\userName\Downloads\srt-ai\node_modules\next\dist\server\base-server.js:1360:25) at async cacheEntry.responseCache.get.routeKind (C:\Users\userName\Downloads\srt-ai\node_modules\next\dist\server\base-server.js:1552:28) at async DevServer.renderToResponseWithComponentsImpl (C:\Users\userName\Downloads\srt-ai\node_modules\next\dist\server\base-server.js:1460:28) at async DevServer.renderPageComponent (C:\Users\userName\Downloads\srt-ai\node_modules\next\dist\server\base-server.js:1843:24) at async DevServer.renderToResponseImpl (C:\Users\userName\Downloads\srt-ai\node_modules\next\dist\server\base-server.js:1881:32) at async DevServer.pipeImpl (C:\Users\userName\Downloads\srt-ai\node_modules\next\dist\server\base-server.js:909:25) at async NextNodeServer.handleCatchallRenderRequest (C:\Users\userName\Downloads\srt-ai\node_modules\next\dist\server\next-server.js:266:17) at async DevServer.handleRequestImpl (C:\Users\userName\Downloads\srt-ai\node_modules\next\dist\server\base-server.js:805:17) { [cause]: Error: OpenAI API returned an error at retrieveTranslation (webpack-internal:///(rsc)/./app/api/route.ts:48:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.start (webpack-internal:///(rsc)/./app/api/route.ts:64:38) }

The message informs that the cause of the error is the Openai API, but even installing the Openai library for node.js, the problem is not resolved. Do you know what I need to do?

@joaodejesus
Copy link
Author

After thorough research, I discovered that the Openai API is not free and this is probably the reason for the error.

@Lempass
Copy link

Lempass commented Apr 5, 2024

Got same problem, even on paid version of Openai API

@robhuijben
Copy link

Same problem here.

@MartinNielsenDev
Copy link

I "fixed" the problem, you need to top up your OpenAI account first, if you have $0.00 this error happens.

@OuisAlhetar
Copy link

same problem here👋

@OuisAlhetar
Copy link

I "fixed" the problem, you need to top up your OpenAI account first, if you have $0.00 this error happens.

how to do that??
should I upgrade the plan to Pro😢??

@MartinNielsenDev
Copy link

I "fixed" the problem, you need to top up your OpenAI account first, if you have $0.00 this error happens.

how to do that?? should I upgrade the plan to Pro😢??

https://platform.openai.com/settings/organization/billing/overview

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

5 participants