Event grid failed events through not storing in dead letter queue

Karnavkumar Vyas 1 Reputation point
2022-12-02T10:40:35.537+00:00

We want to check failed events will be go on dead letter or not .

We have event grid and webhook(logic app) end point . We added response action with code 400 from logic app .

so we assume that events will be moving in to dead letter queue .

But we couldn't see any specific events on dead letter storage .

Note : We have configuration in place for dead letter queue .

266570-screenshot-2022-12-02-160939.png

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,275 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
407 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AdamMarczak 6 Reputation points MVP
    2022-12-23T13:47:38.773+00:00

    Hey there, the event grid service does not trigger retry policies on following error codes (400 Bad Request, 413 Request Entity Too Large, 403 Forbidden, 404 Not Found). So the events will never land in the dead-letter queue.

    You need to return a different error code (example: 500) as those mentioned indicate client errors.

    Reference: https://learn.microsoft.com/en-us/azure/event-grid/delivery-and-retry?WT.mc_id=AZ-MVP-5003556#retry-schedule

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.