Symptom
- "Unable to connect to datasource" error appears when trying to create the OData connection
Environment
- SAP Analytics Cloud
- Odata based connection
Reproducing the Issue
- Launch SAC Tenant
- Select Connection
- Select + to add Connection
- Select OData Services for datasource type
- Provide Connection Name as desired
- Enter Data Service URL value (Odata URL)
- Change Authentication Type to No Authentication
- Click Create
The error "Unable to connect to datasource" appears and the connection does not get created
Cause
- Not all "OData" looking connections are created equal
- In order for SAC to properly recognize an OData URL, there must be metadata available from the service URL
- Usually it is a simple test of adding the $metadata syntax to the end of the given OData URL (eg. https://Odata_URL/$metadata)
- If you get an error after adding this syntax, then there is an issue with the metadata and SAC will have an issue trying to use it
Resolution
We don't get involved in resolving why there is no metadata returned from the service URL, you would need to discuss this with whomever administers the OData datasource that you are wanting to use
Keywords
SAC Odata metadata , KBA , LOD-ANA-AQU-ODATA , Acquiring Data into SAC using an ODATA connection , Problem
Product
SAP Analytics Cloud all versions