Symptom
-
The following error occurs in SAP Analytics Cloud (SAC): "Access to the path specified by the connection is not permitted. Contact your administrator."
-
{"result":"{\"status\":200,\"data\":{\"result\":\"ERROR\",\"messageKey\":\"ACCESS_DENIED_BY_WHITELIST\"}}"} from the HAR file
Environment
- SAP Analytics Cloud (Enterprise) 2021.21.14
Reproducing the Issue
- Create whitelist.txt file, which lists all of folder paths used for importing data or exporting models.
- Define the file server whitelist using one of the following two methods
- Add the whitelist location in your Tomcat JVM properties. In Apache Tomcat 7.0, in the Properties menu, select the Java tab. Under Java Options, add one of these lines: For import data: -DSAP_CLOUD_AGENT_FILE_SERVER_WHITELIST_PATH=<WhitelistFilepath> and For export model: -DSAP_CLOUD_AGENT_FILE_SERVER_EXPORT_WHITELIST_PATH=<WhitelistFilepath>
- Set the operating system environment variable SAP_CLOUD_AGENT_FILE_SERVER_WHITELIST_PATH or SAP_CLOUD_AGENT_FILE_SERVER_EXPORT_WHITELIST_PATH to the location of the whitelist file.
- Restart SAP Analytics Cloud Agent.
- In SAP Analytics Cloud, go to Main Menu)>System >Administration > System Configuration.
- For data import, turn on Allow model import from File Server. For model export, turn on Allow model export to File Server
- Go to > Main Menu >Connection >Add Connection> Import Data Connection > File Server.
- In the dialog, enter a Connection Name, Description, and the Folder Path.
- The Folder Path should match the path listed in your whitelist file.
- Select Create.
- Notice the Error.
Cause
- allowlist.txt file in the configuration was incorrect i.e. Allowlist.txt instead of AllowList.txt (case sensitive)
Resolution
- Verify that the allowlist.txt file in the configuration is exactly as the filename with the allowed resources
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening an case for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.ca/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud > Learning > Data Connections
- SAP Analytics Cloud > Learning > Guided Playlists
- SAP Analytics Cloud > Learning > Guided Playlists > Getting Support
- Need More Help? Contact Support or visit the solution finder today!
Your feedback is important to help us improve our knowledge base.
Keywords
SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Connection, Sac, Connector, Live, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Tenant, Import, Failed, Using, Working, SAML, SSO, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC, sap analyst cloud, connected, failure, stopped , KBA , LOD-ANA-DES , Story Design & Visualizations , Problem