1 Answer
- Newest
- Most votes
- Most comments
0
What does the endpoint variable passed to S3Client contain? It's probably referring to a region other than eu-central-1 that hosts the bucket. For example, if you connect to the default endpoint in us-east-1, S3 would return a 404 to indicate that your bucket isn't found there, since it exists in eu-central-1.
I think you can simply remove the whole endpoint specification. The region specification you have in your code already should suffice.
Relevant content
asked 3 years ago
asked 3 years ago
