SAP Knowledge Base Article - Preview

3573180 - "Error 401 - Not Authorized" when connecting the Data Provisioning Agent to HANA with Kerberos authentication - SAP HANA Smart Data Integration

Symptom

  • Attempting to connect the Data Provisioning Agent (DPAgent) to a SAP HANA server using a HANA user that is set up with Kerberos authentication.
  • The DPAgent Configuration Tool fails to establish a connection, resulting in the following error message:
    • [ERROR]  DPFramework | HttpConnector.handleHttpError [] - Possible solution :Please enter valid credentials when being prompted. 
                                      In case you forgot your credentials please contact your system administrator.
      [ERROR]  DPFramework | HttpConnector.fetchToken [] - Error 401 - Not authorized: 
                                      You're not allowed to access the specified resource. 
                                      Credentials are missing or incorrect.
                                                      Please enter valid credentials when being prompted. 
                                      In case you forgot your credentials please contact your system administrator.
      [ERROR]  DPFramework | ServiceThread.run [] - Stop trying to start service due to 401 Not authorized error.
      [ERROR]  DPFramework | ServiceThread.run [] - Update the Agent XS User credentials first (via config tool or command line utility) and then restart the Agent for new settings to take effect.
  • The error message suggests checking the credentials for the Agent XS User credentials and indicates that access to the specified resource is not permitted due to missing or incorrect credentials.
  • The issue persists even after verifying that the password is correct in HANA and the user has the necessary authorization.


Read more...

Environment

SAP HANA smart data integration

Product

SAP HANA smart data integration all versions

Keywords

DP Agent, SAP HANA, Error 401, Not Authorized, AGENT_ADMIN, authentication, connection failure, Kerberos , KBA , HAN-DP-SDI , SAP HANA smart data integration (SDI) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.