Symptom
When uploading a Document Template for Onboarding one of the following error messages can be encountered:
- ERROR 1: "ChangeSet index 1 - ???HCP Error Message: Https Status Code 401, Unauthorized???;File could not be uploaded to PFS"
- ERROR 2: "ChangeSet index 1 - Illegal character in scheme name at index 0..."
- ERROR 3: "ChangeSet index 1 - ???HCP upload error: XDP or PDF File Parse Error???;File could not be uploaded to PFS"
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
- Go to Admin Center > Maintain Onboarding and Offboarding Document Templates
- Click on Add New Document Template button
- Attach the XDP file and fill out the Document Template properties
- Click Upload.
- Error message appears;
Cause
- Incorrect credentials configured in the Print Form Service settings in Provisioning. The User Id has a "space" at the start of the P-User Id credentials.
- PFS URL missing the /odata/PDF
Resolution
- Go to Provisioning >> Company Settings.
- Search for Enable Print Forms Generation.
- Make sure the PFS URL has the "/odata/PDF"
- Enter the API credentials to be used in PFS. Make sure that there is no space at the start of the P-User Id credential.
- Save the changes.
Keywords
ChangeSet, index, HCP, Error, Message, Https, Status, Code, 401, Unauthorized???, File, uploaded, PFS, P-User Id, Print Forms Service, PFS API Credentials, Add, New, Document, Template, Maintain, Onboarding, Offboarding, unable, upload, document, Illegal, character, scheme, XDP, PDF, Parse , KBA , LOD-SF-OBX-DOC , Generation of Documents using PFS , Problem
Product
SAP SuccessFactors Onboarding all versions