# I’m receiving the webhook error ‘origin check failed’ in my Magento dashboard

The webhook ‘origin check failed’ error appears if a webhook event arrives from a webhook endpoint which does not exist in the ‘stripe_webhooks’ table in the database. To resolve this, we recommended that you delete any existing webhook endpoints from the [Stripe Dashboard](https://dashboard.stripe.com/webhooks) and then re-create them with the following command from your Magento directory:
`bin/magento stripe:webhooks:configure`
This command will recreate the webhooks and will also save the signing secret for each webhook endpoint in the ‘stripe_webhooks’ database table. If you still see the origin check error after running this command, please check inside `var/log/stripe_payments_webhooks.log`. In this file, some additional error messages are logged which will explain the reason the origin check failed.