79646096

Date: 2025-05-30 21:12:52
Score: 0.5
Natty:
Report link

I managed to make it work by using s3ForcePathStyle: true instead of forcePathStyle: true:

import { S3Client } from '@aws-sdk/client-s3';
client = new S3Client({
  'us-east-1', 
  endpoint: 'http://localhost:4566', 
  s3ForcePathStyle: true, 
  disableHostPrefix: true
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alex Rewa