Hello While connecting datahub to tableau using T...
# integrate-tableau-datahub
r
Hello While connecting datahub to tableau using Token results in NotSignedInError: Missing Authentication Token. The same authentication token works while using this python code Config used during ingestion:
Copy code
source:
  type: tableau
  config:
    connect_uri: <https://mytableau.com>
    site: Default
    env: "Test"
    #projects: ["default", "Project 2"]
    #username: <mailto:username@acrylio.com|username@acrylio.com>
    #password: pass
    token_name: "root"
    token_value: "fnsdifnsdkfnsdjfn8r834hr837fb"
    #ingest_tags: True
    ingest_owner: True
    #default_schema_map:
    #  mydatabase: public
    #  anotherdatabase: anotherschema
sink:
  type: "datahub-rest"
  config:
    server: "<http://localhost:8080>"
b
Try this: token_name: root token_value: fnsdifnsdkfnsdjfn8r834hr837fb
r
Tried your suggestion. Still getting the same error: NotSignedInError: Missing Authentication Token. You must signin first.
s
same stuff eithe username/password or token
AFAIK there is 2step operstions 1. get session token using
auth
method with user/pass or token 2. use received session_token in api calls we’ve done like this
Copy code
auth = tsc.TableauAuth(
    username=username,
    password=password,
    site=site
)
server = tsc.Server(url, use_server_version=True)
with server.auth.sign_in(auth):
    server.datasources.<use_class_methods_stuff>
looks like you’ve used same