"Error sending event to AWS EventBridge: SerializationError: failed to unmarshal response" 将 MongoD



我已经创建了一个MongoDB触发器上的集合与创建,更新,替换和删除启用。文档预映像也已启用。
我已将触发器连接到AWS EventBridge。从EventBridge中,我捕获事件并触发一个Lambda函数,在事件总线和Lambda之间使用SQS。

我正在测试触发器,但注意到Lambda没有触发,并继续查看MongoDB Atlas中的MongoDB DB触发器日志。它显示了以下消息

的错误
Error:
Error sending event to AWS EventBridge: SerializationError: failed to unmarshal response error
status code: 413, request id: 
caused by: UnmarshalError: error message missing 

我不确定是什么原因造成的。它是错误的在MongoDB或AWS结束。我在谷歌上找不到任何与此相关的东西。

413当请求大小超过256K时发生错误。解决方案是为触发器指定一个投影表达式,以便只选择需要的内容并减小大小。

来源:https://www.mongodb.com/community/forums/t/error-sending-event-to-aws-eventbridge-serializationerror-failed-to-unmarshal-response-error-with-mongodb-trigger-connected-to-aws-eventbridge/172244/5

最新更新