Symptom
- Creating notes via /note-service/notes works as expected.
- Creating a case with an associated note successfully reflects the note content.
- However, performing a PATCH update on the case to modify the description content does not update the corresponding note.
- Attempting to PATCH the case using a new noteId fails with the following error:
- Validation failed: INVALID_ARGUMENT: Note type cannot be created S001. Maximum allowed notes exceeded.
Environment
- SAP Service Cloud Version 2 1.0
- SAP Sales Cloud Version 2 1.0
Reproducing the Issue
- Create a new note using the Hyper Notes API (/note-service/notes).
- Attach the new noteId when creating the case using a POST method.
- The case is created successfully, and the description field is updated as expected.
- Attempt to update the description field using a PATCH call:
- Modify the description content.
- Include the same noteId in the PATCH request body.
- The PATCH call executes successfully, but the description content is not updated.
- Trying to use a new noteId for the update results in the error:
"error": {
"code": "case.20003",
"message": "Validation failed: INVALID_ARGUMENT: Note type cannot be created S001. Maximum allowed notes exceeded."
}
Cause
- The Case API does not support direct updates to existing note content or description fields via PATCH when using noteId.
- The error occurs due to system limitations on the number of notes of a specific type (e.g., S001), and attempting to create a new note of that type exceeds the limit.
Resolution
See Also
- KBA 3521580 - How to Use the Sales and Service Cloud V2 - Case API on SAP API Business Hub
- https://api.sap.com/api/SalesSvcCloudV2_case/resource/Case
- https://api.sap.com/api/SalesSvcCloudV2_noteService/resource/Case
Keywords
note creation, case creation, PATCH update, validation error, INVALID_ARGUMENT, note type S001, allowed notes exceeded, SAP Sales Cloud Version 2, description field update, API hub case service , KBA , CEC-CRM-CAS , Case Management for SAP Sales/Service Cloud , Problem
Product
SAP Service Cloud Version 2 all versions
SAP Knowledge Base Article - Public