Next.js
Next.js invalid href passed to Link or router
Next.js detected a non-internal URL being passed to next/link or router navigation, which is unsupported because the Next.js router is only for internal routes.
Next.js
Next.js detected a non-internal URL being passed to next/link or router navigation, which is unsupported because the Next.js router is only for internal routes.
Observed message
Invalid href passed to router
Why it happens
How to fix it
Official reference
Next.js Docs: Invalid href passed to routerRelated errors
Explore more