Amazon web services – awssdk.services.s3: The bucket you are attempting to access must be addressed using the specified endpoint
I have this piece of code: private String putS3Object(String objectKey, String mimeType, byte[] content) { S3Client s3 = S3Client.builder() .region(Region.EU_CENTRAL_1) // Set region to eu-central-1 .build(); log.info("adding {} - {} - to {} ", objectKey, mimeType, bucketName); try { PutObjectResponse…