#HTTP/1.1 401 Unauthorized with livewire upload

1 messages · Page 1 of 1 (latest)

prisma oyster
#

Hi! It seems that using livewire to upload files is blocked by livewire "hasValidSignature" check.

POST /livewire/upload-file
HTTP/1.1 401 Unauthorized

I've seen that this kind of issue has already been reported on many forums and I followed some ideas. I tried with setting the trust proxies to all, changing the storage visibility, cleared the caches, even commented the hasValidSignature method inside livewire's vendor directory to try, but nothing changes. Any ideas where this could be solved or how?

Thanks in advance!

white silo
#

Thanks for reporting this @prisma oyster I'll try to look into this soon!

heady finch
#

Hey @white silo I know this is kind of old but not sure if was fixed. I just jumped into this error myself too.

white silo
#

@heady finch we actually don't recommend using Livewire to do "uploads" - we'll have support for direct/native file handling soon

We already do for photos and videos from the user's gallery