© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•5mo ago•
4 replies
Xan

File uploads throw a 401

We're using Coder.com for our development environments, so they're in the cloud and all the domains have https. This works great for our normal Laravel and Livewire builds, but running into some issues with file uploads now that we're trying out Filament.

The APP_URL and the ASSET_URL both point to the https:// version of the URL, and we have this in our AppServiceProvider.php:
URL::forceScheme("https");
URL::forceScheme("https");


Without that, it tries to load the file upload form with http still for some reason. But with that added it'll get to 100% for the file uploader and then throws a 401 unauthorized. The error message is just "" though, and points to line 1426 in vendor/laravel/framework/src/Illuminate/Foundation/Application.php

art storage:link
art storage:link
has been ran, and it seems like it would work just like every other Laravel app we've built, so not sure why it would be getting blocked.

It's a 401 but it doesn't even put anything in the laravel.log
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

Spatie Livewire File Uploads 401 on server
FilamentFFilament / ❓┊help
2y ago
401 on file uploads after switching to HTTP for localhost
FilamentFFilament / ❓┊help
12mo ago
S3 File Uploads
FilamentFFilament / ❓┊help
3y ago
Lazy file uploads
FilamentFFilament / ❓┊help
3y ago