upload to cloudflare R2 problem

For Workers & Pages, what is the name of the domain?

.

What is the error message?

Failed to upload mouse.txt: tus: unexpected response while creating upload, originated from request (method: POST, response code: 500, response text: Something went wrong with that request. Header ‘x-amz-tagging’ with value ‘Tus-Completed=false’ not implemented, request id: n/a).

What is the issue or error you’re encountering

Hello everyone, I am using a self-hosted Supabase instance through Coolify, and I have connected my Supabase storage to Cloudflare R2. I am facing a problem when I try to upload a file using the Supabase dashboard. I receive the following error: “Failed to upload mouse.txt: tus: unexpected response while creating upload, originated from request (method: POST, response code: 500, response text: Something went wrong with that request. Header ‘x-amz-tagging’ with value ‘Tus-Completed=false’ not implemented, request id: n/a).” However, when I upload files from my FlutterFlow app that is connected to my Supabase instance, everything works fine. I have tested various file types, including large files, small files, images, and videos, and all uploads are successful.

What steps have you taken to resolve the issue?

I tried to solve the issue from ChatGPT, and it said that the problem occurs because Cloudflare R2 doesn’t support the x-amz-tagging header, but it couldn’t provide a clear solution.

Is anyone else experiencing this problem? Thanks for any help!