How to view Export CSV row errors?
I get the database notification that some were successful and some failed, but I can't see the reason why they failed - does anyone know how to hook into that?
1 Reply
For the next person, I would recommend jumping into
vendor/filament/actions/src/Exports/Jobs/ExportCsv.php
, then inside the handle
method, log out the values you are getting for the $this->records
and also take a look at the query
It appears my problem is with records
, as the wrong ids are being passed in, not the model ids from the table the export exists on