Hi all, I am trying to implement CloudFlare R2 in my Flutter project. But I am getting eith 400 or 4

Hi all, I am trying to implement CloudFlare R2 in my Flutter project. But I am getting eith 400 or 403 all the time.
Here is the gist of my code: https://gist.github.com/jitendrapurohit12/81ad9b07c1237cb234c14e1328df236e

I am using "amazon_cognito_identity_dart_2" package.
Gist
GitHub Gist: instantly share code, notes, and snippets.
Was this page helpful?