KNOWLEDGE BASE

Unable to Add Tags to Workbooks Using REST API methods authenticated with JWT


Published: 06 Feb 2023
Last Modified Date: 07 Feb 2023

Issue

When trying to add tags to workbooks using REST API methods authenticated with JWT, the REST API fails with the error:
"401002 Unauthenticated Error".

Environment

  • Tableau Cloud

Resolution

Workaround 1

Use personal access tokens to authenticate the REST API requests to add workbook tags instead.

Workaround 2

Use the Tableau Server UI to authenticate the REST API requests to add workbook tags instead.

Cause

This is the expected behavior as the tags endpoint is not supported for JWT authentication.
This ability to authenticate REST API requests to add tags using JWTs is not currently supported in the product.
Did this article resolve the issue?