ImportAction - file size validation error - Need to increase maxSize limit
Hey everyone! π
I'm having trouble with file size validation when importing a CSV file using Filament's ImportAction. Here's my setup:
My current ImportAction configuration:
phpImportAction::make()
->label('Importar')
->color('primary')
->importer(BookImporter::class)
->headerOffset(0)
->csvDelimiter(',')
The issue:
I'm trying to upload a 17.5MB CSV file
Getting "validation.max.file" error during upload
My PHP settings are already configured: post_max_size = 120M and upload_max_filesize = 100M
What I've tried:
Verified PHP configuration is correct
File uploads fine in other parts of the application
The error seems to be coming from Filament's own validation
Any help would be appreciated! π

Solution:Jump to solution
check this
Laravel
File Uploads | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
2 Replies
Solution
check this
Laravel
File Uploads | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Thank you so much for your help! π I managed to solve it by publishing the configuration file and increasing the default values. Your guidance really helped me understand where to look. Have a great day and thanks again for taking the time to help me out!
php artisan livewire:publish --config
'temporary_file_upload' => [
'rules' => ['required', 'file', 'max:202400'],
