Application Router Routing Configuration (xs-app.json)
The errorPage configuration option in the SAP BTP Approuter Application allows developers to customize the response shown when the application router encounters an error. By default, errors originating in the application router display only the HTTP status code; using errorPage, a developer can map specific HTTP error status codes to custom error pages instead. This gives developers control over the end-user experience when routing or authentication errors occur within the application router.
Docs explaining this concept
Prerequisites
- Concept xs-app.json Application Descriptor The concept name was not provided and the supplied sources do not share a common, clearly identifiable SAP developer concept. Without a defined concept and sufficient grounding in the source snippets, a accurate and fully supported definition cannot be written.
- Concept MTA Deployment Descriptor (mtad.yaml) The concept name was not provided, so a precise definition cannot be determined. Based on the available sources, the overarching topic relates to **Multitarget Applications (MTAs)** in the SAP BTP Cloud Foundry environment — a packaging and deployment model that allows developers to bundle multiple interdependent modules, resources, and their dependencies into a single deployable unit. Developers use MTAs alongside [deployment descriptors](https://help.sap.com/docs/btp/sap-business-technology-platform/f48880b0295d4e9d859658244da84201?locale=en-US&state=PRODUCTION&version=Cloud) and [MTA extension descriptors](https://help.sap.com/docs/btp/sap-business-technology-platform/50df803465324d36851c79fd07e8972c?locale=en-US&state=PRODUCTION&version=Cloud) to define, configure, and deploy complex applications consistently across environments.
- Concept SAP Application Router The concept provided is **undefined** and the supplied sources do not contain sufficient information to produce a grounded, accurate definition. The sources cover topics such as configuring redirect URLs for browser logout, destination options in `xs-app.json`, and various SAP BTP tutorials, but none of them define a specific named concept that can be documented here. Please provide a valid concept name and relevant source snippets so a definition can be written.
- Concept xs-app.json and manifest.json Configuration The concept provided is `undefined`, and the supplied sources do not contain sufficient grounded information to define a specific, identifiable SAP developer concept. Without a valid concept name or supporting source content, a accurate and grounded definition cannot be produced.