splunk / splunk-tableau-wdc

Splunk Tableau Web Data Connector (WDC) Example
Apache License 2.0
20 stars 13 forks source link

SyntaxError: Invalid character: '`' file: http://192.168.1.112/src/splunkConnector.js line: 55 #23

Open dijikul opened 4 years ago

dijikul commented 4 years ago

Following the instructions to run this within docker, I'm presented with the following error as soon as I attempt to load the WDC within Tableau 2019.1.7 on OS X:

An error occurred while communicating with the data source.

The web data connector has reported an unrecoverable error and cannot proceed. If the connector has reported details of the error, they are displayed in the pane below.
SyntaxError: Invalid character: '`'   file: http://192.168.1.112/src/splunkConnector.js   line: 55

image

This error isn't presented when navigating in the browser. Did I miss a setup instruction?

Update: I logged into the containerand within the splunkConnector.js I found a multi-line variable named _configure_search_headtooltip delimited with the grave character / backticks.
After changing this to a single-line comment, I received a new error when navigating the WDC within Tableau: image

Not sure what to try next...