SAP Knowledge Base Article - Public

3745027 - Error "Please enter valid credentials when being prompted. In case you forgot your credentials please contact your system admin" when creating HANA live connection in SAP Analytics Cloud(SAC)

Symptom

  • Error "Please enter valid credentials when being prompted. In case you forgot your credentials please contact your system admin" when creating HANA live connection in SAC
  • In console: Protocol Error: Error [Protocol]: (#401) Unauthorized. Credentials are missing or incorrect, as indicated in the error message.

Environment

  • SAP Analytics Cloud 2025.21.9
  • Hana Live connection

Reproducing the Issue

  1. Login to SAC
  2. navigate to connections 
  3. Select Add connections --> Connect to Live Data --> SAP HANA
  4. Enter Name, host, port and credentials 
  5. Click on OK

Notice : Error "Please enter valid credentials when being prompted. In case you forgot your credentials please contact your system admin"

Cause

Improper SameSite cookie configuration for on-premise SAP HANA live data connections.  

Resolution

Configure SameSite Cookie. Refer to: SameSite Cookie Configuration for Live Data Connections | SAP Help Portal

See Also

Keywords

protocol error, 401 unauthorized, live data connection, SAP Analytics Cloud, direct connection, SAP HANA on‑premise, SameSite cookie, credential issue, model creation, unauthorized error, authentication error, connection failure , KBA , LOD-ANA-LDC-HAN , SAC Live Data Connection HANA , Problem

Product

SAP Analytics Cloud 1.0