Symptom
- An error occurs when opening an instance of an in C4C V2.
- Error message: "9 FAILED_PRECONDITION: Error: HTTP 413 status code returned from external system for external post-hook"
Environment
- Product: SAP Service Cloud Version 2
- Extensibility for SAP Sales/Service Cloud
Reproducing the Issue
- Open an instance eg account account in C4C V2.
- Observe the error raised by the external post-hook configured via CAP service.
- Check the browser network tab and note status code 523 in some cases.
Cause
The external system rejects the request body as too large causing the external post-hook to fail.
Resolution
- Verify in the external system (or any gateway/proxy in front of it) that requests from the post-hook are rejected with HTTP 413 (payload too large).
- Increase the maximum accepted request payload/body size on the external system so it can accept the account payload sent by the post-hook.
- Alternatively, optimize the external hook registration to reduce the payload by sending only the required fields.
- Retest opening the account and confirm the external hook responds successfully (no 413/523).
- Monitor logs to ensure stable behavior after the change.
See Also
Keywords
http 413, payload too large, external hook, post-hook, validatecustomer, account open error, c4c v2, SAP service cloud v2, cap, capm, external system, status code 523, outbound configuration, payload size limit, sap.crm.md.accountservice , KBA , CEC-CRM-CZM-EXT , Extensibility for SAP Sales/Service Cloud , Problem
Product
SAP Service Cloud Version 2 all versions
SAP Knowledge Base Article - Public