SAP Knowledge Base Article - Public

3744690 - Odata upsert failures when creating job profiles via integration

Symptom

  • Creating job profiles via integration intermittently succeeds and fails; manual creation in the UI works.
  • No requests are visible in the odata api log monitor when the failure occurs.
  • Error message returned by the service: "You cannot save the sections ([???JOBPROFILE_LOCALIZED_DATA_desc???]) because they contain non-alphanumeric text. The use of non-alphanumeric text may create potential vulnerabilities for cross-site scripting (XSS) attacks. Update each of the sections to use only alphanumeric text. with the index 0"
  • httpCode 500 is observed for failed requests.

Environment

SAP SuccessFactors Talent Intelligence Hub and Job Profiles

Reproducing the Issue

  1. Attempt to create a Job Profile via OData upsert using the integration.
  2. Observe that some runs succeed while others fail.
  3. Perform the same creation manually in the UI and note it succeeds.
  4. Check the OData API log monitor and observe that no request is logged when the failure happens.

Cause

  • Job Profile descriptions contain line break tags with invalid HTML/XHTML syntax (for example,
    without a proper termination). The backend expects properly terminated tags, and invalid markup triggers security validation, resulting in rejection of the upsert.
  • The UI rich text editor auto-corrects markup, so manual entries succeed.

Resolution

  1. Review the payload content for Job Profile descriptions (Short Description and Long Description) across all locales.
  2. Ensure every line break tag is properly closed. Example <br> should be <br></br>
  3. Escape special characters in description text where needed (for example, replace & with &amp).
  4. If adjusting via the UI, open Manage Data, update Short Description and Long Description for all locales in one save to let the rich text editor normalize markup.
  5. Re-run the integration upsert and verify the Job Profile is created without errors.

See Also

Keywords

odata upsert, job profile, job profile builder, short description, long description, localized data, non-alphanumeric text, xss, httpcode 500, JOBPROFILE_LOCALIZED_DATA_desc, br tag, html syntax, self-closing tag, intermittent failure, odata api , KBA , LOD-SF-TIH-JPB , Job Profile Builder , Problem

Product

SAP SuccessFactors HCM Suite 2605

Attachments

Pasted image.png