Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filamentβ€’6mo agoβ€’
4 replies
explosiboo

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! πŸ™
image.png
Solution
check this
Laravel
File Uploads | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
File Uploads | Laravel
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel β€’ Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

increase FileUpload Size limit up to 50MB !
FilamentFFilament / β“β”Šhelp
6mo ago
File Upload Issue with Avatar: MaxSize Validation Not Working
FilamentFFilament / β“β”Šhelp
3y ago
How to increase maximum file uploader size
FilamentFFilament / β“β”Šhelp
14mo ago
How to increase Max file upload size?
FilamentFFilament / β“β”Šhelp
15mo ago