SAP Knowledge Base Article - Public

3352798 - API FAILED_AUTHENTICATION Error Message: Authentication failed, no API login permission(status code = 14)

Symptom

FAILED_AUTHENTICATION Error Message: Authentication failed, no API login permission(status code = 14)

DISCLAIMER: 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 HXM Core
    • SF API/ ODATA API

Cause

This issue could be because of the below 2 reasons:

  1. The SFAPI User Login Permission is missing in RBP
  2. The API User's Username value used in the Integration is invalid 

Resolution

1. Please validate the RBP permission for the User is enabled in "General User Permission" --> "SFAPI User Login"

2.  Validate the Username of the User used to Login for the API Authorization, as in the below example

But in the SF instance the Username is in lowercase sfadmin due to which we were getting the error. Hence please validate the Username in the UDF and check.

Keywords

Failed Authentication, status code = 14, no API permission, LOD-SF-INT, Authentication , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HXM Core 2305 ; SAP SuccessFactors HXM Suite 2305

Attachments

Pasted image.png
Pasted image.png