Error [AWS S3]: Unable to check existence for: livewire-tmp/

I'm trying to save a file directly to AWS S3. Until when I add an image it saves the temporary one in my bucket but when I click on create it gives this error.

https://flareapp.io/share/4m4K29B5

I took the configuration from some people I found on the internet, see how I'm doing it.

File name: cors.php
return [

    'paths' => ['api/*', 'sanctum/csrf-cookie', ''],

    "AllowedMethods" => [
        "GET",
        "PUT",
        "POST",
        "DELETE"
    ],

    'allowed_origins' => ['http://127.0.0.1:8000'],

    'allowed_origins_patterns' => [],

    'allowed_headers' => ['*'],

    'exposed_headers' => ['
        "x-amz-server-side-encryption",
        "x-amz-request-id",
        "x-amz-id-2",
        "Content-Type"
    '],

    'max_age' => 0,

    'supports_credentials' => false,

];


File name: .env

AWS_ACCESS_KEY_ID=AKIAS...
AWS_SECRET_ACCESS_KEY=oVZk9Q...
AWS_DEFAULT_REGION=sa-east-1
AWS_BUCKET=vistune-archive
AWS_USE_PATH_STYLE_ENDPOINT=false
AWS_URL=https://vistune-archive.s3.sa-east-1.amazonaws.com
FILAMENT_FILESYSTEM_DISK=s3
FILESYSTEM_DISK=s3


File name: Resource

FileUpload::make('image_training')
                    ->imageEditor()
                    ->downloadable()
                    ->hintIcon('heroicon-o-information-circle', tooltip: 'Descreva as funções só do Humano!')
                    ->uploadingMessage('Salvando o arquivo...')
                    ->disk('s3')
                    ->visibility('private'),


Attached is a print of the error in my console and also a print of the bucket receiving the temporary images. How can I resolve this error?
image.png
image.png
Flare
Unable to check existence for: livewire-tmp/mC60qay7AlenuXlgC5CrVBEmeCZF1M-metaaW5NUE4xSlF4aUozeFpCYmhKQkd2RlpDSUhEZFlILW1ldGFTVzFoWjJWdElHUnZJRmRvWVhSelFYQndJR1JsSURJd01qUXRNREl0TVRJZ3c2QW9jeWtnTVRRdU1EWXVNRGxmTURFeE9XUXhaRGt1YW5Cbi0gKDEpLmpwZw==-.jpg - The error occurred at http://127.0.0.1:8000/artificial-intelligence/11/treinamentos/create
Was this page helpful?