Hi, I am still encountering the "unauthorized" error when using R2. To provide some context, I have never experienced issues with the token in the past; I had been using it for a year without any problems. However, upon inspecting my logs, I noticed that the token stopped working at midnight (I suspect it might have expired). I went ahead and generated a new token, but I am still encountering the same error.
also, when i tried to download any object, it reported "Error 1014, CNAME Cross-User Banned". i didn't change any dns settings and i can't edit, as in dns management, it shows "This record was generated by Cloudflare R2. It can be modified by navigating to the bucket's Domain Access." Ray ID: 820d5669789ce021 I tried to delete the bucket, it throw an error. The bucket is still there. When I want to enter it again, it throws another error showing "The specified bucket does not exist. (Code: 10006)". It's a headache to be stuck here, any ideas please? Just help me to delete the bucket and the cname dns record.
Any idea why I can't use the mirgrate feature? When I input my aws tokens, I am getting an error. I know they are valid keys because I just created and tested them before hand.
Because I have an issue when I deploy an Express JS API to upload files to R2. It runs smoothly locally, but always errror 500 in vercel. error is: Cannot find module '@aws-sdk/middleware-expect-continue' Require stack: - /var/task/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js - /var/task/node_modules/@aws-sdk/client-s3/dist-cjs/index.js - /var/task/index.js - /var/task/___now_launcher.js - /var/runtime/index.mjs Did you forget to add it to "dependencies".
i have installed the missing module (but in local i dont need to installed the missing module), i think its dependencies from @aws-sdk/client-s3. but it still error like that. for the code i deploy is in this repository : https://github.com/Fullstack-collaboration/backend-cloud
sorry for my bad code. i hope you all can help me guys, thanks