I am trying to use event grid. On the screen below on the event grid subscription details chart I can see that there is a delivery failed event. However, I don't know how I can check the reasons of failure. The subscriber is an azure function, and in the logs I see it wasn't invoked.
How to debug the reasons why the delivery failed in the event grid?

From the documentation:
If the Function is never invoked, I'd suggest checking configuration as EventGrid would retry and you'd see that.