Symptom
The error below is seen when attempting to create new External Link.
Error: “The URL could not be reached. The URL could be temporarily unavailable, invalid, behind a firewall, or may require secure access.”
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- Access Learning Admin>
- Expand Learning Activities>
- Choose External Links>
- Click Add New>
- Paste the URL at the URL field>
- Get the error.
Cause
URL has an unencoded character, which causes the issue.
Resolution
Please see it below the sample URL:
- Problematic URL:
https://podcasts.apple.com/ca/podcast/174-ton-cerveau-complice-de-ton-développement/id1451733055?i=1000673648996
In short, any URL to be added to Learning External Links, must use non-ASCII characters, like accented ones.
The provided URL contains an unencoded accented character (é), which results in a 400 Bad Request.
To fix it, the admin has to identify the character in the URL and encode the value. See below:
- Correct (URL-encoded) version:
https://podcasts.apple.com/ca/podcast/174-ton-cerveau-complice-de-ton-d%C3%A9veloppement/id1451733055?i=1000673648996
In this case, the encoded character "é" value is "%C3%A9".
You may look for any URL encoder to be able to perform the same activity while creating the External Links in your side.
Keywords
External, link, URL, validation, encode, decode, ascii, accent, character, error , KBA , LOD-SF-LMS-ADM , System Admin, Global Variables, References , How To
SAP Knowledge Base Article - Public