Invalid value for getStaticPaths route parameter.
This content is not available in your language yet.
GetStaticPathsInvalidRouteParam: Invalid getStaticPaths route parameter for
KEY
. Expected undefined, a string or a number, receivedVALUE_TYPE
(VALUE
)
What went wrong?
Since params
are encoded into the URL, only certain types are supported as values.
In routes using rest parameters, undefined
can be used to represent a path with no parameters passed in the URL:
See Also:
Error Reference