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
- Login to SAC
- navigate to connections
- Select Add connections --> Connect to Live Data --> SAP HANA
- Enter Name, host, port and credentials
- 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
- 2630653 - How to Troubleshoot and Trace SAP Analytics Cloud connecting to on-premise / acquired / imported data
- 2834064 - How to enable RSTT Trace in SAP BW for import BW scenario on specific query or CDS View in SAP Analytics Cloud (SAC)
- 2902697 - SAP Analytics Cloud agent - Frequently Asked Questions and Additional Information
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening an case for SAP Analytics Cloud?
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.ca/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- Need More Help? Contact Support or visit the solution finder today!
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
SAP Knowledge Base Article - Public