Reputation: 165
Here is my code
from tableau_api_lib import TableauServerConnection
from tableau_api_lib.utils import querying,flatten_dict_column
from urllib import parse
config={
'tableau_online':{
'server':'https://us-east-3d.online.tableau.com/#/site/COMPANY_NAME',
'api_version':'3.24',
'personal_access_token_name':'MY_TOKEN_NAME',
'personal_access_token_secret':'MY_SECRET_KEY',
'site_name':'Marketing',
'site_url':'Marketing'
}
}
conn=TableauServerConnection(config_json=config,env='tableau_online')
conn.sign_in()
i am unable to login or download it from Tableau server , below is the error "json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:"
Upvotes: 0
Views: 11