Trouble with Export/Import in Laravel Filament Admin Panel: 'Login Route Not Found' Error

Hi, I'm currently using the Laravel Filament admin panel for my application. I've been working on getting the export/import feature up and running smoothly. However, whenever I attempt to export or import a CSV, it seems to generate in the notifications. But then, when I try to download the file, it keeps throwing a 'login route not found' error.

SS: https://img.enacton.com/ShareX/2024/04/w4FMvKPUQJ.png

I've configured separate guards for authentication, one for admin and one for user panels. Additionally, I've ensured that the export/import policy is set to return true in the view function.

Furthermore, I've made sure to include Export::polymorphicUserRelationship(); in the app service provider, and I've made all the necessary database changes.

Despite these efforts, I'm still stuck with the 'login route not found' issue when accessing export/import. Any suggestions on resolving this within the Laravel Filament admin panel?
Was this page helpful?