Symptom
The error handling of Data Privacy Consent Statement (DPCS) APIs is enhanced as part of 2H2024 release. Instead of getting generic 'Internal Server Error' messages, the following errors will be returned when certain failure scenarios are met.
- Required request parameter 'country' for method parameter type String is not present.
- Statement not found.
- Invalid subjectId. Please provide a valid candidate ID.
Environment
SAP SuccessFactors Recruiting Management
Resolution
For more information about this new feature, please visit this implementation guide page: Enhancements to Data Privacy Consent Statement APIs.
For more information on what scenarios the errors will be returned, please review KBA 3524394.
See Also
3524394 - Updating the Data Privacy Consent Statement via ODATA API - Recruiting Management
Keywords
2H2024, PLA-46056, PLA-46102, update, accept, decline, Data Privacy Consent Statement, DPCS, ODATA API, API, RCM, Recruiting Management, Required request parameter 'country' for method parameter type String is not present, Statement not found, Invalid subjectId, Please provide a valid candidate ID , KBA , LOD-SF-RCM-ADM , Admin Center, RBP, Permissions and Settings , LOD-SF-RCM-CAN , General Candidate Issues (not Offers, not Profiles) , Product Enhancement