KNOWLEDGE BASE

Error "The input url <url> is not in the whitelist, please add it to the whitelist first" Adding a URL to the Secondary Whitelist for a Web Data Connector


Published: 17 Jan 2018
Last Modified Date: 13 Feb 2018

Issue

When trying to add a URL to the secondary whitelist for a Web Data Connector using tabadmin whitelist_webdataconnector -s, the following error occurs:
Error: The input url [url] is not in the whitelist, please add it to the whitelist first

Environment

  • Tableau Server
  • Web Data Connector

Resolution

Ensure that the first argument for the whitelist command is the URL of the Web Data Connector to which you would like to add a secondary whitelist.

For example, to add https://myFirstAPI.com/getData to the secondary whitelist for the connector https://example.com/myconnector.html
  • Incorrect syntax: tabadmin whitelist_webdataconnector -s https://myFirstAPI.com/getData
  • Correct Syntax: tabadmin whitelist_webdataconnector -s https://example.com/myconnector.html https://myFirstAPI.com/getData

Cause

The add_secondary_whitelist option for the tabadmin command whitelist_webdataconnector requires two arguments: the URL of the Web Data Connector and the secondary whitelist as a comma separated list of URLS.

Additional Information

You can include regular expressions in the list of domains. If you do not specify a secondary safe list for a connector, then that connector cannot connect to any domains.
Did this article resolve the issue?