Unable to upload multiple images at the same time

When I try to upload more than one image to my SpatieMediaLibraryFileUpload component it returns a 422 error with the following response
{"message":"validation.uploaded","errors":{"files.0":["validation.uploaded"]}}
{"message":"validation.uploaded","errors":{"files.0":["validation.uploaded"]}}
If I then save it will have saved the first image I uploaded.
If I upload multiple images, one at a time and save the resources between each upload they work fine.
I'm using filament/spatie-laravel-media-library-plugin v3.2.92
4 Replies
bardolf_6969
bardolf_6969OP5mo ago
Anyone else experienced this or can give me an idea of where to start looking?
toeknee
toeknee5mo ago
Hmmm are you hitting the livewire max upload?
toeknee
toeknee5mo ago
Stack Overflow
Livewire image upload 422 unprocessed entity error
Please i need help, Am trying to upload an images using livewire but experiencing 422 (Unprocessable Entity) error when image size is above 2MB. Am using Wamp server, i have increased memory limit ...
bardolf_6969
bardolf_6969OP5mo ago
The default is actually 12MB and none of the files I'm trying to upload is over 12MB. Also the total size of all the files is under 12MB. Also if the validation that was failing is the file size surely it would give us that error message.
Want results from more Discord servers?
Add your server