SAP Knowledge Base Article - Public

3570415 - The system returned an error "There was an application error." when the responsible user completed a custom task. - Onboarding

Symptom

  • An application error occurs when a custom task is submitted for offboardee.
  • The error message displayed in dev tool is "Operation failed because of errors. No permission to perform this operation."

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental. 

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Proxy as the responsible user.
  2. Attempt to submit a custom task for offboardee.
  3. Error occurs.

Cause

The assignment for the permission role granted to the responsible user is not enough.

Resolution

Please confirm that the assignment(target population) of the permission role granted to the responsible user is sufficient.

It is possible that the permission group where the offboardee is located is inactive or the assignment is "The granted users themselves" does not include the offboardee that needs to be operated on.

How to determine if the error is caused by insufficient permission:

  1. Go to responsible user's homepage.
  2. Right-click on the blank area of the page and select "Inspect".
  3. Choose Network tab
  4. Open the pending task to replicate the error.
  5. In "Response", the error message shows:
    • {
          "error": {
              "code": "Forbidden",
              "message": "Operation failed because of errors.",
              "details": [
                  {
                      "code": "noPermission",
                      "message": "No permission to perform this operation."
                  }
              ]
          }
      }

 

Keywords

SAP SuccessFactors Onboarding, custom task, application error, permissions, OBX, assignment, Operation failed because of errors, No permission to perform this operation , KBA , LOD-SF-OBX-OFT , OFB Tasks , Problem

Product

SAP SuccessFactors Onboarding 2505