Symptom
After deploying a CAP (Cloud Application Programming Model) Node.js application to SAP BTP Cloud Foundry, the application crashes immediately at startup.
The application log contains the following error:uncaughtException: Cannot read properties of undefined (reading 'decodeCache')
TypeError: Cannot read properties of undefined (reading 'decodeCache') at jwt_auth (...)
Read more...
Environment
- SAP Business Application Studio (BAS)
- SAP CAP Node.js (@sap/cds 8.x or 9.x)
- SAP BTP Cloud Foundry runtime
- XSUAA-based JWT authentication
Product
Keywords
CAP, CAPM, Cloud Foundry, deployment, crash, startup failure, @sap/xssec, xssec, jwt_auth, decodeCache, JWT, token caching, uncaughtException, TypeError, BAS, BTP, Node.js, @sap/cds, XSUAA, authentication, package.json, dependency, mta, mbt , KBA , BC-XS-CDX-NJS , SAP CAP – node.js runtime , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview