failing upload to storage ssr
Hi, I'm trying to upload images to storage through the backend, previously I was doing it from the frontend because I only had to upload one image (profile picture).
now I need to upload image(s) while submitting form data. something like an advert with a title, description and a couple of images (like ebay).
I'm using sveltekit and trying to submit through form actions as.
When console.log() I can see that the fileBody is being sent to the backend.
I'm getting this error while everything else is upserting correctly into the db. image paths getting saved into db, but no images in storage.
file body
now I need to upload image(s) while submitting form data. something like an advert with a title, description and a couple of images (like ebay).
I'm using sveltekit and trying to submit through form actions as.
When console.log() I can see that the fileBody is being sent to the backend.
I'm getting this error while everything else is upserting correctly into the db. image paths getting saved into db, but no images in storage.
file body