SAP Knowledge Base Article - Public

3837640 - "Internal Server Error" when accessing HANA Database Explorer/HANA Cockpit via Datasphere database analysis user

Symptom

  • “Internal Server Error” occurs when launching HANA Database Explorer/HANA Cockpit from Datasphere using a database analysis user.
  • Even after clearing browser cache or using the New Incognito window issue still persists.
  • Issue occurs to specific S-user, issue may also occurs with specific Database analysis user.

"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 Datasphere

Reproducing the Issue

  1. In Datasphere, navigate to System > Configuration > Database Analysis User and choose a database analysis user.
  2. Launch HANA Database Explorer/HANA Cockpit. 
  3. The page redirectes to the BTP IdP sign-in page, select “Sign in with default identity provider” and proceed.
  4. Input S-User and Password.
  5. The page redirects to dashboard_client-hana-tooling-k8s Application Authorization page like in screenshot below, user unticked some or all of the checkbox and click on 'AHTHORIZE' button.
  6. Error “Internal Server Error” is displayed and launching HANA Database Explorer/HANA Cockpit fails.
  7. Even after clearing browser cache or using the New Incognito window issue still persists. The S-user is no longer given the option to reselect the options in step 5, it will directly jump to error screen in step 6.

Cause

The required Application Authorization for the HANA tooling client (“dashboard_client-hana-tooling-k8s”) was not accepted/granted in the BTP UAA flow, so the permission cannot be passed during the redirect from Datasphere.

Resolution

In order to restore the permissions, please ask the S-user to navigate to following URL and update the permissions with all the 4 options selected:
https://uaa.cf.<Your tenant region>.hana.ondemand.com/profile. 
Replace <Your tenant region> with your Datasphere tenant's region. If your Datasphere tenant's region is jp10, then the URL to be used is https://uaa.cf.jp10.hana.ondemand.com/profile.

Keywords

Datasphere, database analysis user, HANA Database Explorer, Internal Server Error, BTP login, default identity provider, IdP, UAA profile, consent, authorization, Application Authorization, dashboard_client-hana-tooling-k8s, 500 error, SSO, HAR trace, dashboard_client-hana-tooling-k8s , KBA , DS-SM , Space Management , Problem

Product

SAP Datasphere all versions