Facing error while trying to create AWS4 http headers perameters signature - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Wednesday, June 9, 2021

Facing error while trying to create AWS4 http headers perameters signature

I am getting this below error, if anyonce can help me with this. I am using curl + php code to achieve this.

{"message":"The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.\n\nThe Canonical String for this request should have been\n'GET\n/service_portal/v1.1/work_order\nid=77371\nhost:dev-api.myprotectall.com\nx-amz-date:20210608T184254Z\n\nhost;x-amz-date\ne3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'\n\nThe String-to-Sign should have been\n'AWS4-HMAC-SHA256\n20210608T184254Z\n20210608/us-east-1/execute-api/aws4_request\n32e445ed41c1569059de0db9bf61a07b680a59d5daf5f94f8f73bbda39d5d729'\n"}

Its bit urgent for me so if anyone have any idea then please guide me.

Thanks



source https://stackoverflow.com/questions/67892944/facing-error-while-trying-to-create-aws4-http-headers-perameters-signature

No comments:

Post a Comment