Exception 400081 while downloading a view using TableauServerClient

0 votes

I'm downloading a view as.csv from Tableau server (2019.1.3 (20191.19.0417.1429) 64-bit Windows) onto my local computer using TableauServerClient (0.8) in a Python (3.7.1) script. My code works for the majority of visits, but for a few, I'm receiving the following error:


400081: Bad Request

There was a problem querying the data for view 'xyz'

Has anyone else had to deal with this before? What are your opinions on this?

Apr 5 in Tableau by Vaani
• 7,020 points

1 answer to this question.

0 votes
I was getting a similar error, and neither the Python API documentation nor the REST API docs mentioned anything about it. (I couldn't discover the API response error code in either of them.)

The problem occurred for me because a couple data sources in my worksheet lacked connection credentials ( The credentials were missing after I published an update from Tableau Desktop). The code was operating correctly again when I incorporated the credentials for each data source. I was able to use the API to fetch and download data from tableau views.
answered Apr 5 by Neha
• 8,940 points

Related Questions In Tableau

0 votes
0 answers
0 votes
1 answer

Can someone tell me about some tips and tricks while using tableau?

1. Tableau tips and tricks: Calendar in ...READ MORE

answered Jul 4, 2018 in Tableau by ffdfd
• 5,550 points

edited Sep 21, 2021 by Soumya 258 views
0 votes
1 answer

How to perform a calculation using one variable with an aggregation in calculated field?

Hi, You can use the calculative field and ...READ MORE

answered May 20, 2019 in Tableau by anonymous
• 33,050 points
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 3,130 views
0 votes
1 answer
0 votes
1 answer

How to fix spelling error in a field or column value using Tableau?

You should be able to use a ...READ MORE

answered Mar 10 in Tableau by Neha
• 8,940 points
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP