You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A typo with the model name or check if the API Keys are configured correctly
If you call generateContent with both Text and Image modalities on an experimental image model, the API might return only one modality at a time—leaving content.parts undefined if it returns image-only data.
Description of the bug:
Keep getting this error with version hosted on vercel:
Error generating image: TypeError: Cannot read properties of undefined (reading 'parts')
at ee (.next/server/app/api/image/route.js:1:20210)
On the website the error is: "Failed to generate image"
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response
The text was updated successfully, but these errors were encountered: