SAP Knowledge Base Article - Public

3541776 - Failed to create model on HANA live connection due to 401 error in SAP Analytics Cloud (SAC)

Symptom

  • The issue might happen with some browsers only.
  • The following error is observed while creating model based on HANA live connection:
    Protocol Error: 401 unauthorized

Environment

  • SAP Analytics Cloud (SAC)

Reproducing the Issue

  1. Logon to SAC tenant and create a new HANA Direct Live connection.
  2. Confirm creating the connection there's no error showing.
  3. Create a new live model via this connection.
  4. See the following error happens:
    Protocol Error: 401 unauthorized

Cause

  • Browser is not set to allow cookies from backend HANA system.

Resolution

  • Set browser to allow third-party cookies.
    Following Steps for Chrome browser:
    • Click the 3 dots > select settings
    • Privacy and security > Set to allow 3rd party cookies.

See Also

2482807 - SAP Analytics Cloud Live connections requiring a Secure HTTPS Browser configuration with CORS enabled

Keywords

401 not authorized, live, import, direct, bug, samesite, edge. firefox , KBA , LOD-ANA-LDC-HAN , SAC Live Data Connection HANA , Problem

Product

SAP Analytics Cloud all versions