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

Invalid image Error #315

Open
ohizkiya opened this issue May 28, 2024 · 1 comment
Open

Invalid image Error #315

ohizkiya opened this issue May 28, 2024 · 1 comment

Comments

@ohizkiya
Copy link

I successfully cloned and set up project as a private repo. Everything works well including deploying to Cloudflare, as long as I stick to triggering the actions by creating issues with text only. However, if I include an example image I get the error below. Please see the stack trace. Any ideas?

error: Uncaught (in promise) Error: 400 Invalid image. return new BadRequestError(status, error, message, headers); ^ at Function.generate (https://deno.land/x/openai@v4.20.1/error.ts:71:14) at OpenAI.makeStatusError (https://deno.land/x/openai@v4.20.1/core.ts:409:21) at OpenAI.makeRequest (https://deno.land/x/openai@v4.20.1/core.ts:470:24) at eventLoopTick (ext:core/01_core.js:178:11) at async retryAsync.delay (file:///home/runner/work/ai_app_generation/ai_app_generation/prompts/common.ts:38:30) at async retryAsync (https://deno.land/x/retry@v2.0.0/retry/retry.ts:47:20) at async recall (https://deno.land/x/retry@v2.0.0/retry/retry.ts:44:12) at async retryAsync (https://deno.land/x/retry@v2.0.0/retry/retry.ts:58:14) at async recall (https://deno.land/x/retry@v2.0.0/retry/retry.ts:44:12) at async retryAsync (https://deno.land/x/retry@v2.0.0/retry/retry.ts:58:14)

@ohizkiya
Copy link
Author

ohizkiya commented Jun 3, 2024

@Yuyz0112 any chance you've run into this?

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

1 participant