
A failing CAP Node.js application can have a staging, runtime, service binding, authorization or application-code problem. Start with the actual Cloud Foundry application and deployment logs.
Collect the first evidence
cf target
cf app my-cap-srv
cf logs my-cap-srv --recent
cf servicesReplace the application name with the affected instance. Check whether staging completed, whether the application instances are running, and whether the expected service instances exist. Use the first relevant error and timestamp to correlate application and service events.
Review the runtime configuration
Check the Node.js and CAP dependency versions, active configuration profile and expected service bindings. For remote calls, inspect the authentication and destination path. CAP provides logging configuration to help narrow an issue, but verbose logs may expose sensitive information; use scoped tracing and restore normal settings after collecting evidence.
Avoid restaging or changing quotas until the failing layer is identified. Reproduce the problem in a test environment when possible.
Documentation: CAP – Getting Help
Documentation: CAP – Logging
SAP Note: 3702063 (related topic).



