Skip to content

App Router: returning notFound() from generateMetadata does not change the response status code to 404 if there's a loading.tsx component #75563

Unanswered
felipedeboni asked this question in App Router
Discussion options

You must be logged in to vote

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@felipedeboni
Comment options

@samcx
Comment options

samcx Feb 3, 2025
Maintainer

@felipedeboni
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Metadata Related to Next.js' Metadata API. Error Handling Related to handling errors (e.g., error.tsx, global-error.tsx). Loading UI and Streaming Related to loading UI (loading.tsx) and streaming.
2 participants
Converted from issue

This discussion was converted from issue #75543 on February 01, 2025 18:56.