why im getting this error in filament file upload

The data.media_file_video.0503f964-e3b1-4e80-9d0f-ce2565504557 field must not be greater than 12288 kilobytes. this is very new to us this is my code FileUpload::make('media_file_video') ->label('Video File') ->reactive() ->acceptedFileTypes(['video/mp4', 'video/webm']) ->maxSize(102400) ->disk('s3') ->directory('public/videos') ->visibility('public') ->helperText('Videos: mp4, webm. Max size 100MB.') ->visible(fn(callable $get) => $get('type') === 'video'),
3 Replies
gemini.dev
gemini.dev3w ago
1. Check your php.ini settings: upload_max_filesize = 100M post_max_size = 100M 2. Check your livewire settings (config/livewire.php) 'max_upload_size' => 102400, // in KB
undercode
undercode3w ago
No description

Did you find this page helpful?