EventBridge Scheduler unexpected 409 response

0

Hi,

We are using EventBridge scheduler to invoke lambda functions that send push notifications to users. If a user takes certain actions, the schedule for the push notification will be created or change.

Currently, when we receive an action that should update the schedule, we delete the current schedule (userid as name) and attempt to re-create it with update parameters. This is done because we do not know if there is an existing schedule. However, we frequently receive 409 error responses when trying to create new schedules, despite immediately before receiving a 404 response when trying to delete the same schedule (indicating that it didn't exist). Any ideas why this might not work as expected?

已提問 7 個月前檢視次數 55 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南