Skip to main content

Error pages

๐Ÿ”‘ Redis Keyโ€‹

tenant_slug:error_pages:error_code

๐Ÿ“ Descriptionโ€‹

This section allows configuration of error pages presented by the system. If the /mo/v200/init call fails, the frontend will redirect to the /error/error_code page, where error_code is taken from the corresponding field in the /mo/v200/init response.

The same code is used to build the Redis key where configurations are stored.


๐Ÿงพ Fieldsโ€‹

#FieldDescription
1labelsLanguage-specific labels. Labels will be rendered in order; titles appear larger.
2labels.lang.breadcrumbText to show in the breadcrumb (optional).
3images.logoLogo to display above the label (optional).
4colorsColors to use for labels. Use the same slug.

๐Ÿ’พ JSON Exampleโ€‹

{
"labels": {
"it": {
"title1": "La modalitร  di ritiro scelta non รจ al momento disponibile.",
"title2": "Torna indietro e scegli una modalitร  differente.",
"breadcrumb": "Home/Ordina e ritira/Modalitร  non disponibile"
},
"en": {
"title1": "The selected pick-up mode is currently unavailable.",
"title2": "Go back and choose a different mode.",
"breadcrumb": "Home/Order and pick up/Mode not available"
}
},
"images": {
"logo": "https://site/images/img.png"
},
"colors": {
"title1": "#191a1a",
"title2": "#191a1a"
}
}