How can I validate webhook metrics for error detection?

I have a webhook created by REST API, I would like to validate the metrics of this flow to check for errors, since I received an email from shopify where it mentioned errors and they canceled the webhook