I am trying to integrate an API Gateway WebSocket Route with SQS.
I have configured the SQS Integration with below properties
AWS Region: ap-southeast-1 AWS Service: SQS HTTP Method : POST Path override: 111111110111/my-queue
Configured Request Template as
"Action=SendMessage&MessageBody=$util.urlEncode($input.body)##
set($context.requestOverride.header.Content-Type="application/x-www-form-urlencoded")##"
When I try to send the data to SQS it is failing with below error
Error:
(VK1mEHZSyQ0FlZg=) Endpoint request body after transformations: Action=SendMessage&MessageBody=foobar (VK1mEHZSyQ0FlZg=) Sending request to https://sqs.ap-southeast-1.amazonaws.com/111111110111/my-queue (VK1mEHZSyQ0FlZg=) Received response. Integration latency: 16 ms (VK1mEHZSyQ0FlZg=) Endpoint response body before transformations: Unable to determine service/operation name to be authorized