Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

test_user69's avatar

B2 Cloud storage

I use b2 cloud storage and ui for php filament.

here is my b2 disk in filesystem

it's work when I set FILESYSTEM_DISK=local in .env. But, it's not work when I change default disk as b2 in .env like this FILESYSTEM_DISK=b2. It's show 403. But I test upload with tinker, it's ok and this error happen in my webpage. how to solve this please.

0 likes
2 replies
mileswebhosting's avatar

It sounds like you're encountering a 403 Forbidden error when trying to upload files via Filament's FileUpload component to your B2 bucket, even though direct uploads via Tinker work, and local disk uploads from Filament also work. This strongly suggests an issue with permissions or URL generation/accessibility when Filament tries to interact with your B2 bucket, specifically in a web context.

Glukinho's avatar

Check log in storage/logs/laravel.log, it may give you info what is wrong exactly with your disk. 403 Forbidden shown on the page isn't meaningful, you need to see the specific error.

Please or to participate in this conversation.