Files + Supabase Storage - [INTERNAL_SERVER_ERROR] File not found

I’m trying to use Supabase as storage for Directus files, when uploading a file via web form, this error is displayed in the browser:

[INTERNAL_SERVER_ERROR] File not found

Here it’s as JSON message (using copy button on the error alert):

{
  "errors": [
    {
      "message": "File not found",
      "extensions": {
        "code": "INTERNAL_SERVER_ERROR"
      }
    }
  ]
}

Here’re related lines from my .env config file:

STORAGE_LOCATIONS="supabase"
STORAGE_SUPABASE_DRIVER="supabase"
STORAGE_SUPABASE_KEY="supabase-storage-key"
STORAGE_SUPABASE_SECRET="supabase-storage-secret"
STORAGE_SUPABASE_ENDPOINT="https://my-project-id.supabase.co/storage/v1/s3"
STORAGE_SUPABASE_BUCKET="directus"
STORAGE_SUPABASE_REGION="eu-north-1"
STORAGE_SUPABASE_HEALTHCHECK_THRESHOLD=10000
STORAGE_SUPABASE_SERVICE_ROLE="service role from - settings - api keys - legacy api keys"

This is what I see in the console log:

[01:24:20.211] ERROR: File not found
    err: {
      "type": "Error",
      "message": "File not found",
      "stack":
          Error: File not found
              at DriverSupabase.stat (file:///tmp/directus-test/example-project/node_modules/@directus/storage-driver-supabase/dist/index.js:64:41)
              at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
              at async FilesService.uploadOne (file:///tmp/directus-test/example-project/node_modules/@directus/api/dist/services/files.js:137:26)
              at async Multipart.<anonymous> (file:///tmp/directus-test/example-project/node_modules/@directus/api/dist/controllers/files.js:89:32)
    }

I’m hosting locally on macOS Tahoe 26.0.1. Browser - Safari.
I’ve installed Directus using npm init directus-project example-project
My node -v is v22.21.1

What am I doing wrong?

Note: It works fine with Backblaze with this config:

STORAGE_LOCATIONS="BB2"
STORAGE_BB2_DRIVER="s3"
STORAGE_BB2_KEY="my-key"
STORAGE_BB2_SECRET="my-key-secret"
STORAGE_BB2_ENDPOINT="s3.my-region.backblazeb2.com"
STORAGE_BB2_BUCKET="my-bucket-name"
STORAGE_BB2_REGION="my-region"