SAP Knowledge Base Article - Public

3297146 - Fiori Launchpad Service Blank Screen - status 401 Authentication Required

Symptom

  • SAP Standard application or Custom Applicatioin shows a blank screen after clicking the Fiori Tile

    See sample:

    blankscreen.png
  • The application is on a SAP Cloud application landscape (NOT On-Premise)
  • The following HTTP Trace (HAR) file errors are shown when the Fiori Application tile was clicked:
    • Error 1:  HEAD request to /cp.portal/requestCSRFToken completed with status 401 Authentication required 
      • First error shows that some sort of requestCSRFToken failed when the Cloud navigated to the service and due to the authentication issue, the cloud to the portal failed to get the value from the service
    • Error 2: {    "error": "insufficient_scope",    "error_description": "Insufficient scope for this resource",    "scope": "xs_tenant.read xs_authorization.read"}
      • This second error is also showing stating that the authentication read failed
      • At this point the user will need to make sure that the authentication check or whitelisting is all setup
    • Error 3: Status Code: 500 - GET request to /dynamic_dest/XXXX/sap/opu/odata/sap/XXXX_SRV/$metadata?sap-documentation=heading%2Cquickinfo&sap-value-list=none completed with status 500

      Destination XXXX is not defined as a dynamic destination in destination service, configure additional property HTML5.DynamicDestination true

    • This 3rd error is seen after all the authentication is setup as Error 1 and 2 are now resolved. This 3rd error could also be the root cause of the issue. 

Environment

S/4HANA CLOUD 2208 or later

Resolution

  • For Error 1 and 2:
  • For Error 3:
    • Solution 1: Set HTML5.DynamicDestination as true
    • Solution 2: If DESTINATION XXXX is missed then this may mean that the Mobile Enabled NOTIF_SERVICEPATH parameter may be missed.
      • MobileEnabled is required for SAP Mobile Start.
        NOTIF_SERVICEPATH is used in combination with sap-sysid and sap-client by the Notification Service to perform callbacks.
        Please add above parameters for destination in case you need to enable the relevant service.

See Also

Keywords

"Fiori Launchpad Service blank","401 Error Fiori","Cloud BTP service not working","Custom Application shows blank screen","Fiori Blank Screen","Whitelisting issue", "xs_authorization.read", "Insufficient scope for this resource", "requestCSRFToken" , KBA , BC-CP-CF-SEC-IAM , UAA, Authentication, Authorization, Trust Mgmnt , Problem

Product

SAP S/4HANA Cloud 2208 ; SAP S/4HANA Cloud 2308