# global nuxt middleware runs when api returns error
UseFetch encountered an error in modifying content-type
pending triageupstream
Nuxt3 global middleware called twice for 404 page
documentationgood first issue3.x
API endpoint got called twice when the app boots up
3.xpending triage
Using middleware + redirect function results in failed rendering
3.xpending triage
Middleware routing guard with unlimited calls
stalepending triage2.x
route middleware and error page are called multiply on error occurred
3.xpending triageneeds reproduction