SAP Knowledge Base Article - Public

2926786 - File Could Not be Uploaded - Onboarding 2.0

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..."

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Go to Admin Center >> Maintain Onboarding and Offboarding  Document Templates
  2. Click on Add New Document Template button
  3. Attach the XDP file and fill out the Document Template properties
  4. Click Upload.
  5. Error message appears;

Cause

This is a caused by an 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.

Resolution

  1. Go to Provisioning >> Company Settings.
  2. Search for Enable Print Forms Generation.
  3. 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.
  4. Save the changes.

Keywords

ChangeSet, index, ???HCP, Error, Message, Https, Status, Code, 401, Unauthorized???, File, uploaded, PFS, P-User Id, Print Forms Service, PFS, PFS API Credentials, Add, New, Document, Template, Maintain Onboarding, Offboarding, unable, upload, document, template, PFS, Illegal, character, scheme , KBA , LOD-SF-OBX-DG , Generation of Documents using PFS , Problem

Product

SAP SuccessFactors Onboarding all versions