the shape of url is : /en-ca>&<018YipiMxAAACIAaugz%%/parent/ uid
it should be /lang/grandparent/parent/uid
Hello @loudmu, thanks for reaching out.
- Which technology are you using?
- Can you show us an example of your Route Resolver?
thank you for your quick answer.
i'm using the latest primic packages
i'm using next and the the route resolver is
const routeResolver = {
routes: [
{
type: "productPage",
path: "/:lang/:section/:category/:uid",
resolvers: {
category: "category", // API ID of the content relationship in the Custom Type
section: "category.section",
},
},
{
type: "category",
path: "/:lang/:section/:uid",
resolvers: {
section: "section", // API ID of the content relationship in the Custom Type
},
},
{
type: "section",
path: "/:lang/:uid",
// resolvers: {
// section: "section", // API ID of the content relationship in the Custom Type
// },
},
{
type: "section",
path: "/:lang/:uid",
},
{
type: "homepage",
path: "/:lang/",
},
],
};
Do all documents have a UID? This field is necessary to build the routes. Could you show us the URL of your site that has this error?
my bad the problem was with the route resolver!
problem solved!
thank you very much for your support
Glad to know you found a solution. Let us know if there's anything else we can help you with.