1 個回答
- 最新
- 最多得票
- 最多評論
0
By default, WebSocket route is one-way, and it only sends a message to the client when API Gateway couldn't process the incoming message correctly.
In your case, API Gateway successfully executed the API, but your Lambda is returning 5xx. To send a result as a message to the client, you need to configure your route as "two-way" by configuring a route response.
https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-route-response.html
已回答 4 年前
相關內容
- 已提問 6 個月前
- AWS 官方已更新 3 年前