Invalid value returned by a getStaticPaths path.
InvalidGetStaticPathParam: Invalid params given to
getStaticPaths
path. Expected anobject
, gotPARAM_TYPE
What went wrong?
Section titled What went wrong?The params
property in getStaticPaths
’s return value (an array of objects) should also be an object.
See Also:
Error Reference