Skip to content

server.favorites.delete_favorite_flow(user_item, flow_item) returns resource not found (it exists) #1235

Closed as not planned

Description

@CodingOnWindowsOS

Describe the bug
server.favorites.delete_favorite_flow results in server response error 404005. The flow and corresponding project exist and can be found using server.projects and server.flows.

Versions
Details of your environment, including:

  • Tableau Server version: 2022.1
  • Python version: Python 3.9.12
  • TSC Version: 3.15

To Reproduce
import tableauserverclient as tsc

Setup

token_name = 'some_token_name'
token_value = 'some_token_value'
tableau_auth = tsc.PersonalAccessTokenAuth(token_name=token_name, personal_access_token=token_value)
server = tsc.Server('some_server')
server.add_http_options({'verify': False})

with server.auth.sign_in(tableau_auth):
server.use_highest_version()
user = server.users.get_by_id('some_user_id')
server.users.populate_favorites(user)
for flow in user.favorites['flows']:
server.favorites.delete_favorite_flow(user, flow)

Results
ServerResponseError:

404005: Resource Not Found
	Project 'c54fa021-3177-4cb8-8c1a-de2a4e2e02c9' could not be found.

Activity

  1. github-actions commented on Aug 2, 2026

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If this is still relevant, please comment to keep it open.

  2. github-actions commented on Aug 17, 2026

    @github-actions

    Closing due to inactivity. If this is still relevant, please reopen or file a new issue.

  3. jacalata commented on Nov 11, 2026

    @jacalata
    Contributor

    I couldn't reproduce this on a test server running REST API 3.31 using development. I added a flow as a favorite, called delete_favorite_flow on it, and the call succeeded with the favorite removed. If it still fails for you, please share your server version and the flow and project IDs involved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions