SignatureDoesNotMatch

lena·2022년 9월 28일
0

s3 에서 미리 서명된 url(presigned url) 을 이용하여 콘텐츠 업로드 시 위 에러가 뜨는 경우가 있다.

에러 메시지를 읽어보면 The request signature we calculated does not match the signature you provided. Check your key and signing method.

그렇다면 호출하고 있는 method 를 체크해보자.

putObject 로 호출하고 있는 presigned url 을 get method 로 호출하고 있어서 생기는 문제였다. put method 로 변경하여 호출해주자 해결되었다.

profile
꾸준한게 장점

0개의 댓글