API gateway WebSocket to SQS

0

I need to send all messages to SQS from the API gateway through the WebSocket. I have this error

2023-11-08T07:33:12.756+01:00 (OEPCaFsojoEFgJw=) Sending request to https://sqs.eu-west-1.amazonaws.com/account/actions 2023-11-08T07:33:12.758+01:00 (OEPCaFsojoEFgJw=) Received response. Status: 404, Integration latency: 2 ms

I already give access to the role that is used by the API gateway.

  • can you provide a bit more information? from what you provided the URL for the SQS is wrong, it should be https://sqs.eu-west-1.amazonaws.com/{your-account-id}/{your-queue-name}

1개 답변
0

The following lab can help you in setup API Gateway that connects to SQS which then Lambda reads from and executes code:

https://serverlessland.com/patterns/apigw-websocket-sqs-lambda

AWS
vtjean
답변함 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인