© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•7mo ago•
4 replies
gh057x

Livewire Fileupload (error 401)

I have a filament app that has custom page and uses a livewire component. it is an upload component (xlsx file). upon uploading I've encountered a 401 error. Please see attached images
image.png
image.png
Solution
i added this

->withMiddleware(function (Middleware $middleware): void {
        $middleware->trustProxies(at: '*');
    })
->withMiddleware(function (Middleware $middleware): void {
        $middleware->trustProxies(at: '*');
    })
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

FileUpload 401 (Unauthorized)
FilamentFFilament / ❓┊help
2y ago
FileUpload into Livewire Component get error
FilamentFFilament / ❓┊help
11mo ago
FileUpload in Livewire Component
FilamentFFilament / ❓┊help
2y ago
Livewire compenent add fileupload
FilamentFFilament / ❓┊help
3y ago