Error in Filament's ImportAction Feature
Hello everyone! I'm encountering an issue with Filament's new ImportAction feature, and I've updated Filament to version 3.1 to utilize this functionality. I've generated a test importer using the automatic class generation. Everything appears to be functioning correctly until I attempt to upload a file. After the upload, I encounter the following error:
I'm unsure about where to begin debugging this error. Any advice or insights would be greatly appreciated.
Below is the relevant code snippet:
My Resource:
My Importer:
Thank you.. π
7 Replies
It works until i try to drop in a file:
Then...
google your error message
Hi, i already did i coudn't find any solution
From the docs:
Any rows that do not pass validation will not be imported. Instead, they will be compiled into a new CSV of "failed rows", which the user can download after the import has finished. The user will be shown a list of validation errors for each row that failed.
Thanks for the input. I'm trying to fix this error, but i can'0t understand why it is working on my production machine and is not on the dev one. Machines have the same dependencies versions and code, i can't really understand why it is not working on the second one.
(the error is the same of the post)
I found what was creating the issue: had to fix the permissions on the livewire tmp folder, laravel coudn't write in it. Maybe it will help other users. Bye guys! W filament π