question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bad request when updating a workbook

See original GitHub issue
with server.auth.sign_in(tableau_auth):
    req_option = TSC.RequestOptions()
    req_option.filter.add(TSC.Filter(TSC.RequestOptions.Field.Name,
                                    TSC.RequestOptions.Operator.Equals,
                                    'sample.twbx'))
    workbooks, pagination_item = server.workbooks.get(req_option)
    server.workbooks.update(workbooks[0])

I tried many of our workbooks with tableauserverclient 0.8 and Tableau 20183.19.0123.2221, but everytime the response for workbook.update is a 40000 bad request.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
AlexandreRodrigues1commented, Jul 15, 2019

Hi, I was using TSC version 0.8 and after switching to version 0.7 it works.

0reactions
nachtgoldcommented, Jul 16, 2019

Thank you for the tip with the downgrade, as well as the link to the other ticket which is describing more details about the problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Workbooks publish Bad Request · Issue #238 - GitHub
Hello. There was a problem publishing the workbook. The next code returns error. ` import tableauserverclient as TSC. username = 'user'
Read more >
Error "HTTP bad request" Publishing Workbook or Data ...
Issue. When publishing a data source or workbook to Tableau Cloud or Tableau Server, the following error occurs: Unable to complete action
Read more >
Bad Request when using "Insert a row in an Excel s...
Hi, I used the "Insert a row in an Excel spreadsheet when Microsoft Forms is submitted" but when I run it, I've got...
Read more >
Google spreadsheet API, 400 error bad request : unable to ...
If there are no sheets with that name, then it throws the error. @HemantYadav when you say spreadsheet, do you mean worksheet? If...
Read more >
Google Sheets- Commonly Returned Errors
This error may be caused by an unknown value in the Google Sheets Worksheet field and/or an invalid Worksheet ID, therefore, we recommend...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found