Fixed bugs encountered while querying secondary Tableau Online environment #98
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
We encountered bugs while attempting to query projects in our secondary Tableau Online environment.
Not entirely sure why we do not have the same errors while querying our Production environment, but I assume it is because our Production enviroment has been around for long time, and newer environments don't support some legacy API endpoint parameters.
Changes
get.projectsfunctionality:include_extra_fields, as some environments are clearly capable of including these extra fields, while others will errorparent_project_id, astopLevelProjectis not included by defaultpublish.datasourceandpublish.datasourceto allow publishing to sub-projects by name, if no ID is providedNoneproject, rather than theproject_nameit was searching for, when no project was foundTesting