https://kotlinlang.org logo
Title
u

user

06/29/2022, 12:31 PM
403 Forbidden. The request signature we calculated does not match signature you provided. Check your key and signing method from Android to amazon s3 I am trying to call get api using aws signing method but not able to get the response. Below is my code. val secretkey = "E+t5/nDf6/NKNJBjbsdjv" val accesskey = "DJKSBDKSBNKFGNBFG" val credentials: AWSCredentials = BasicAWSCredentials(accesskey, secretkey) val API_GATEWAY_SERVICE_NAME = "s3" val requestAws: Request = DefaultRequest(API_GATEWAY_SERVICE_NAME) val uri = URI.create("https://s3.us-west-2.amazonaws.com/..../../sample") requestAws.endpoint = uri requestAws.resourcePath =...