#error loading images from storage in vercel
7 messages · Page 1 of 1 (latest)
Hi @supple bridge. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Based on the information provided, it seems like the issue might be related to the retrieval of the image URL from the Convex storage. The error message "Bad Request: wrong file identifier/HTTP URL specified" suggests that the URL being used to fetch the image from the Convex storage might be incorrect or expired.
In Convex, the storage URLs are temporary and they expire after a certain period of time. If you are storing the URL and using it at a later time, it might have expired causing the error. Instead, you should always fetch the URL when you need it.
If the issue persists, it might be due to some other factors not covered in the provided knowledge sources. It would be helpful to check the Convex logs for any errors or warnings when the issue occurs. You can also reach out to the Convex support team for further assistance.
As for the issue not occurring in your Next.js project, it could be due to differences in how the projects are set up or how they interact with the Convex storage. Without more information, it's hard to pinpoint the exact cause.
You can find more information about this in the Discord support thread (https://discord.com/channels/1019350475847499849/1246036773738381334).
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@supple bridge kapa.ai is still learning and improving, please let us know how it did by reacting below
@crimson aurora but error is "Code: INVALID_IMAGE_OPTIMIZE_REQUEST" not the url being wrong
Let me check the knowledge base for you. One moment! :books:
Hmm, I don't know enough to give you a confident answer yet. The error "INVALID_IMAGE_OPTIMIZE_REQUEST" seems to be specific to Vercel's image optimization service, and it's not directly related to Convex based on the provided knowledge sources.
It might be helpful to check Vercel's documentation or support for more information about this specific error. If you're using Convex to manage your images, you might also want to ensure that the images are being stored and retrieved correctly.