# Nuxt3 endpoint called several times if global middleware fails due to this endpoint
Route middleware prevents route change in case of error
pending triage
Nuxt3 global middleware called twice for 404 page
documentationgood first issue3.x
Middleware is executed twice when an error gets thrown
3.xpending triage
useFetch in route middleware will called twice.
3.xpending triageneeds reproduction