SAP Knowledge Base Article - Public

3844119 - "The URL is empty or invalid." when trying to insert hyperlink in Analytic Stories in SAP Analytics Cloud (SAC)

Symptom

  • The error message "The URL is empty or invalid." appears when creating a hyperlink using the External URL option in a SAP Analytics Cloud story. 
  • The issue occurs when only a fragment (for example, #PlannerWorkspace) is entered instead of a complete URL
    eg. "https://myXXXXX.scmibp.ondemand.com/ui#PlannerWorkspace... 

Environment

SAP Analytics Cloud 2026.15.12 

Reproducing the Issue

  1. Login to SAC tenant.
  2. Open the story in edit mode.
  3. Select any widget and click on the three dots > more options > add > hyperlink
  4. On the link to Select External URL insert the link from after the system URL eg. "#PlannerWorkspace...."

    Notice the Error: "The URL is empty or invalid."

Cause

The issue is occurring as the URL entered is not a valid external URL. A valid External URL (Uniform Resource Locator) is a properly formatted web address that follows standard internet syntax rules and points to a resource or page online.

Main Components of a Valid URL
A complete URL consists of up to five main parts, though only certain elements are required: 

  • Scheme (Protocol): Tells the browser how to communicate with the server (such as https:// or http://).
  • Host / Domain Name: Identifies the specific server or website (such as www.contentstack.com).
  • Path: Directs to a specific page, file, or folder on the server (such as /blog/valid-url-structure).
  • Query String: Contains optional parameters or data for the server, starting with a question mark (?) (such as ?id=123).
  • Fragment (Anchor): Points to a specific section on a page, starting with a hash (#) (such as #section-2).

Resolution

Please add the complete valid URL eg. https://myXXXXX.scmibp.ondemand.com/ui#PlannerWorkspace...

See Also

Keywords

SAC, hyperlink, external URL , KBA , LOD-ANA-DES , Story Design & Visualizations , Problem

Product

SAP Analytics Cloud 1.0