[AWS] Error Code: AccessControlListNotSupported

hjin·2023년 7월 22일
0

S3 버킷에 이미지 업로드 기능 실행 중 아래와 같은 에러 발생.

com.amazonaws.services.s3.model.AmazonS3Exception: The bucket does not allow ACLs (Service: Amazon S3; Status Code: 400; Error Code: AccessControlListNotSupported;

버킷의 ACL(Access Control List) 설정이 잘못되어 ACL이 지원되지 않는다는 것.




해결 방법

AWS S3 접속 > 버킷 선택 > 권한 > 객체 소유권 편집 > ACL 활성화됨 체크 > 변경 사항 저장

ACL(액세스 제어 목록) 편집 > 모든 사람 읽기 체크

0개의 댓글

관련 채용 정보