422 Error with FileUpload
When I try to change the maxSize of the FileUpload to 600mb using "600000" the component return me an error 422 with this message "The files.0 must not be greater than 51200 kilobytes.".
Thanks in advance!
8 Replies
Are you sure you as passing it as an integer? if you DD on the self::max_filesize what do you get?
yes
to debug i hardcode it
and the same error
even more, i can take out the "maxSize" and still the same error 😩
and yes is an integer
publish the livewire config & increase the max size
u are awesome
i totally forget this configuration
thanks so much
Hi I'm facing the same issue, and don't know where should I increase the max size in livewire config
IT explains it for you, look at the rules section change it to: ['required', 'file', 'max:12288']
Ah, wasn't sure if was it or there was another option like 'max_upload_size'. Thank you!