- VISHALAKSHI RAO
- PowerBuilder
- Sunday, 3 July 2022 07:59 PM UTC
Hi,
I would need help on consuming AWS SQS in PowerBuilder 2019 version. I was trying in Postman & able call it successfully. But I'm finding it difficult to call from PowerBuilder. I get following error message. I have verified on Access Key & its valid and working fine from Postman
<?xml version="1.0"?><ErrorResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><Error><Type>Sender</Type><Code>SignatureDoesNotMatch</Code><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.
This is the HTTP Code snippet got it from Postman.
GET /964043123456/maven-notification-maven-8?Action=ReceiveMessage HTTP/1.1
Host: sqs.ap-south-1.amazonaws.com
X-Amz-Date: 20220703T165602Z
Authorization: AWS4-HMAC-SHA256 Credential=ABCDEFG/20220703/ap-south-1/sqs/aws4_request, SignedHeaders=host;x-amz-date, Signature=848ddaf8a216cc6e824d6199aa4f2c90412189462bbd51c66a844afb6ba8e6b9
This is the AWS documentation page on the signature calculation => https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-header-based-auth.html
I would really appreciate if some help in sharing the request code for PowerBuilder? Thanks in Advance.
Regards,
Vishalakshi
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.