Autodesk Data Management webhooks 触发事件两次?

Autodesk Data Management webhooks firing events two times?

我在我的服务器中收到两个类似的事件。我正在发送状态为 201 的响应,但它并没有解决问题(在那之后,我收到了 4 个类似的事件)。事件之间的唯一区别是 headers 中的两个字段(X-Adsk-Delivery-IdX-Forwarded-For)。 事件是在同一时刻收到的(相差不到一秒)。 它默认启动两个事件?

感谢您的帮助。

您收到回电后是否立即发送了 2xx 响应?

如果我们的服务在 6 秒内没有收到响应,它会发送另一个回调,因此如果您在发送响应之前需要完成其他工作流,请务必异步处理它们。

详情见here

Webhooks guarantees at least once delivery. When the event occurs, the webhooks service sends a payload to the callback URL as an HTTP POST request. The webhook service expects a 2xx response to the HTTP POST request. The response must be received within 6 seconds. A non-2xx response is considered an error. In the event of an error, the webhook service will retry immediately, in 15 minutes, and 45 minutes thereafter. The webhook service retries for 48 hours and disables the webhook if the callback does not succeed during this time. You may need to reconfigure your webhooks if they are disabled.