Learn Next.js: Handling Errors & not-found.tsx
Open in Discord
Satin Angora posted this in #help-forum
Hi there, I've gone through the tutorials up to this point and I'm a bit stumped with not-found.tsx. I'm unable to trigger the use of not-found.tsx, even though I think I've followed the tutorial carefully. I'm sure I'm overlooking something, but when I attempt to GET an invoice GUID that doesn't exist, I'm getting the standard error.tsx page. Code is [here](https://github.com/sfunk1x/nextjs-dashboard) and the section I'm having an issue with is [here](https://github.com/sfunk1x/nextjs-dashboard). Any help would be appreciated!
Well, chalk this up to old age and high resolution. 😅 Had two hyphens in the file name. Rename immediately fixed the issue.
LPT: Take a walk and drink some water. The answers will always flow afterwards.