Bun S3 API and Tigris

I tried the Bun S3 API to access objects in Tigris but I keep getting error about “access denied”. If i write to it, it says the buck does not exist.

Tigris is an S3-compatible storage and I believe this should work out of the box.
API in question: S3 Object Storage – API | Bun Docs

Are you using Bun.s3 or new Bun.S3Client()? I ask because we set the following environment variables:

AWS_ACCESS_KEY_ID
AWS_ENDPOINT_URL_S3
AWS_REGION
AWS_SECRET_ACCESS_KEY
BUCKET_NAME

The last one (BUCKET_NAME) may be the issue.

thanks. I forgot that I added a prefic to the bucket and only realised this after trying with the aws sdk. I probably missed that I renamed re-added the bucket with a slightly different name. Sorry for the false alarm.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.