Skip to main content

Hi everyone, I’m trying to publish the output of a Tableau Prep flow to Databricks, but I’m getting this error: 

“System error: An error occurred while communicating with Databricks. [Databricks][Hardy] (52) Error communicating with the service: 403” 

I’m able to access the Databricks workspace and create tables directly, and I can browse the catalog, schema, and tables from Prep. I’m also using the latest Tableau Prep and Databricks driver versions. Has anyone encountered this when publishing a Prep flow to Databricks? What else should I check? 

 

#Tableau Cloud

10 answers
  1. Oct 21, 11:53 AM

    Hi @raju Prasad

     

     

    Thanks for the details. Since PAT authentication works and the log says connectivity_stage "CS::QueryExecution", the 403 seems to happen while Prep runs a statement after connecting, not at login. 

     

    My guess is that the manual test used the Databricks UI or CLI, which goes through a different path than the ODBC driver Prep uses to upload the CSV. This is only a hypothesis, but it would explain why everything works manually and only Prep fails. 

     

    To check, could you try the upload through ODBC (or JDBC) from the same machine, using the same PAT? For example, with a SQL client that supports the PUT statement: 

    PUT '/local/path/test.csv' INTO '/Volumes/test_db/test_output/perm_test_vol/test.csv' OVERWRITE 

     

    If that also returns 403, I would ask your Databricks / network admin to check whether the machine can reach the workspace storage (storage firewall / selected networks, proxy, private endpoint), since the driver may upload directly to the storage rather than through the workspace host.

0/9000