I've moved this post to the Web Data Connector portion of the website where you are more likely to receive a helpful response.
The reason for this happening might indeed be all tableau related functions being called simultaniously. But the submit must happen after the connector is initialized and registered.
I had the same issue (WDC: weird (unclear) error message - Uncaught Looks like the WDC is calling a tableau function before tableau.init() has been called. ) including an error message and I could fix it with a delay function (see last comment in that threat)
Do you see this error in the console, too?
Hi Aaron, please post your connector so we can see what's going on.