Skip to content

Can not download datasources that are not in project #785

@DaniilBalabanov33N

Description

@DaniilBalabanov33N

A duplication of #293 but it was closed by the author with no solution provided

For some reason datasources in workbooks can only be found by ID and can not be downloaded

ds = server.datasources.get_by_id("d5c9def5-61f0-49ce-a860-d688edf28f6e")
server.datasources.populate_connections(ds)
ds 
>>> <tableauserverclient.models.datasource_item.DatasourceItem object at 0x000001D587581BB0>
path = server.datasources.download(ds.id)
>>>tableauserverclient.server.endpoint.exceptions.ServerResponseError:
>>>   404004: Resource Not Found
>>>            Datasource "d5c9def5-61f0-49ce-a860-d688edf28f6e" could not be found

Also, if I retrieve all datasources from the server it's not there

temp_list = [ds for ds in TSC.Pager(server.datasources.get) if ds.id == "d5c9def5-61f0-49ce-a860-d688edf28f6e"]:
temp_list
>>> []

Metadata

Metadata

Assignees

No one assigned

    Labels

    v0.41Fix included in v0.41 releasewontfix

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions