Skip to content

Commit 9477e89

Browse files
authored
Merge pull request #932 from tableau/docs-nov-2021
Doc updates November 2021
2 parents bb26d52 + 19d1293 commit 9477e89

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

docs/api-ref.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3915,6 +3915,8 @@ users.populate_groups(user_item, req_options=None):
39153915

39163916
Returns the groups that the user belongs to.
39173917

3918+
REST API: [Get Groups for a User](https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_users_and_groups.htm#get_groups_for_a_user)
3919+
39183920
**Parameters**
39193921

39203922
Name | Description
@@ -3968,10 +3970,9 @@ users.populate_workbooks(user_item, req_options=None):
39683970

39693971
Returns information about the workbooks that the specified user owns and has Read (view) permissions for.
39703972

3971-
39723973
This method retrieves the workbook information for the specified user. The REST API is designed to return only the information you ask for explicitly. When you query for all the users, the workbook information for each user is not included. Use this method to retrieve information about the workbooks that the user owns or has Read (view) permissions. The method adds the list of workbooks to the user item object (`user_item.workbooks`).
39733974

3974-
REST API: [Query Datasource Connections](https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref.htm#query_data_source_connections)
3975+
REST API: [Query Workbooks for User](https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_workbooks_and_views.htm#query_workbooks_for_user)
39753976

39763977
**Parameters**
39773978

docs/troubleshooting.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,20 @@ This page covers some common troubleshooting tips for using the TSC library.
1212
* TOC
1313
{:toc}
1414

15+
## 400000 Bad Request
16+
17+
It's not uncommon to receive a response error similar to the following:
18+
19+
400000: Bad Request
20+
Payload is either malformed or incomplete
21+
22+
This type of response can be caused by several different problems communicating with the backend REST API. Try these steps to resolve the issue:
23+
24+
1. Update to the latest release of the TSC library
25+
2. Adjust your code to always [use the latest REST API version supported by the server](versions#use-the-rest-api-version-supported-by-the-server)
26+
27+
If the problem still persists, you can post an Issue with details to see if others can help. It might also be helpful to capture the REST API requests and responses as described next.
28+
1529
## Logging REST API communication with Tableau Server
1630

1731
There may be cases where it's helpful to inspect the REST API calls the TSC library is making and the responses coming back from Tableau Server. Some examples might be:

docs/versions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ The current version of TSC only supports the following REST API and Tableau Serv
6666

6767
|REST API version|Tableau Server version|
6868
|---|---|
69+
|3.14|2021.4|
6970
|3.13|2021.3|
7071
|3.12|2021.2|
7172
|3.11|2021.1|

0 commit comments

Comments
 (0)