SAP Knowledge Base Article - Public

3166807 - A timestamp error is being received "The specified path, file name, or both are too long" - Onboarding 1.0

Symptom

  • It is not possible to complete the onboarding of a candidate as the following error is seen in Audit Trail: 
    • "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters".
  • A timestamp error is being received when a candidate tries to complete the New Employee Step, but continues to Orientation Step.
    • Error Message: An error has occurred.
      Please return to the home page to continue accessing your account. If the error still appears, close the browser and re-start Onboarding 1.0. Error timestamp: YYYYMMDDHHMMSS

Environment

SAP SuccessFactors Onboarding 1.0

Reproducing the Issue

  1. Initiate onboarding for a candidate
  2. Candidate completes their paperwork
  3. Sign the forms
  4. Submit all documents
  5. The error appears

Cause

There are two possible root cause for this issue and they may occur to the candidate simultaneously. 

Error from the Logs:

  • YYYY-MM-DD HH:MM:SS [95] ERROR [Account Name] [Candidate HRDataId] [] [] XpressHR.ErrorPage - Unexpected error occurred. Error Code:YYYYMMDDHHMMSS. Exception of type 'System.Web.HttpUnhandledException' was thrown. --> Database update failed. --> Failed to send notification. --> The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

CAUSE 1: The internal file path and file name of the form is too long and exceeds 255 characters.

CAUSE 2: A notification that weren't triggered has the option 'Attach Forms to Email' is ticked.

Resolution

SOLUTION 1: Superadmin Access is required

  • Check the internal file path value in Superadmin > Account Options > AttachFilesDirectory
    • Count the characters - e.g. \\xx00xxx000-000x.sf.priv\dc70_VOL1_ONB_SALES_DATA1\NFS_ONBPREM\SiteConfig\Accounts\<ACCOOUNT NAME>\ = total of 111 characters
    • NOTE: This cannot be altered per account
  • Then the file name from the candidate's HRData History
    • Count the characters - e.g. YYYY\MM\DD\x000x0x0-000x-0000-xxx0-0000000xx00x\candidatenotiftest@dummy.com.The Form Name is Too Long to Generate the Notification for the Candidate.pdf pdf =  159 characters
  • In total, we have ~260 characters, so the error is presented. This needs to be a maximum of 255.
  • In order to solve the error, a new form needs to be uploaded on the system with a shorter file name as possible and 
  • Note: If you try to update the existing form there will be errors for all the current activities and also when searching in Document Center this will not work properly as the form has a different name as it has before. Raise a separate support ticket to get these forms re-generated for the affected candidates to get the updated form.

SOLUTION 2:

  • Check the notification configuration if a form is attached.
  • Please uncheck option "Attach forms to email" if the notification is configured with no Attachment.

Keywords

Specified, Path, File, Name, Both, Too, Long, Fully, Qualified, Must, Less, Than, 260, Character, Directory, Name, 248, Onboarding, Onb, Obd, Asynchronous, Error, Task , KBA , LOD-SF-OBD-SYS , System Performance, Usability, Errors, Security , Problem

Product

SAP SuccessFactors Onboarding 2311