Filament Spatie FileUpload with s3

I got issues with spatie file upload. It's coming from filepond. It's a livewire component. Where am I do wrong?

Here is my configuration. I've set the following configuration:
[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "HEAD",
            "GET",
            "PUT",
            "POST",
            "DELETE"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": []
    }
]

.env
APP_URL=http://0.0.0.0
AWS_ACCESS_KEY_ID=AKIA5MO
AWS_SECRET_ACCESS_KEY=ErUxMtIeMA2ZzrSJb6hVl
AWS_DEFAULT_REGION=ap-southeast-1
AWS_BUCKET=bucket-adate
AWS_USE_PATH_STYLE_ENDPOINT=false
FILESYSTEM_DISK=s3
FILAMENT_FILESYSTEM_DISK=s3


SpatieMediaLibraryFileUpload::make('media')
    ->required()
    ->label(__('Transaction Proof'))
    ->disk('s3')
    ->visibility('private')
    ->disableLabel(),
Screenshot_from_2023-11-28_20-42-06.png
Solution
I got it.
Was this page helpful?