Are you viewing this behavior when working with a WDC on Desktop or with a WDC on Tableau Server that is refreshing? And what exactly is the workflow you are going through? Initial connection, extract refresh, etc.
I've just tried this out on my end in Tableau 10.2 Desktop and I can't reproduce the issue. What I tried was just putting console.log messages in my getSchema call than looking at the logs.
Hi Mr. Lee,
The problem occurs with Tableau Desktop. It only happens if getSchema sends an empty array to the callback function. This occurs when no valid schemas are returned from my server, which will happen if no data is available for the requesting user.
I can't find a way to signal to the Tableau WDC that I want to abandon the getSchema operation other than raising an error.
Do you know of a mechanism to indicate this state?