Export not working when using Auth0
I'm trying to export data, nothing fancy or complicated but I'm getting the following error
I'm using the
Export
builting actionSolution:Jump to solution
I ended up using your Excel Export plugin π @Dennis Koch I commented out the lines that were failing and the file was being created and saving correctly but now the notifications were failing :/
5 Replies
The rest of the auth is working fine? Because the error comes from Laravel's AuthManager not from Filament
Hey @Dennis Koch thanks for the reply. Everything is working correctly, It seems like the error is coming from
ExportCsv
from Filament. Here is more on the error
This is failing Filament\Actions\Exports\Jobs\ExportCsv
here is more of the error

Looking into the
I think you have 2 options: Bind the
ExportCsv
class, it tries to either resolve a Authenticatable
class or defaults to App\Models\User
model.I think you have 2 options: Bind the
Admin
user to Authenticable
but I am not sure how you'd bind Admin
vs User
based on context.
Or you might need to replace the Export
model with your own, but I haven't looked into that yet.Solution
I ended up using your Excel Export plugin π @Dennis Koch I commented out the lines that were failing and the file was being created and saving correctly but now the notifications were failing :/
Nice. Whatever works π