Skip to main content

Hello,

I know there are similar questions regarding site ID and also publishing hyper files into Tableau Online, however, I could not find one where the problem was the same as mine.

I have tried both with personal credentials and with token (functions 'TSC.TableauAuth' and 'TSC.PersonalAccessTokenAuth') and the error is always the same while trying to sign in ('Not Signed Error: Missing site ID. You must sign in first'). I do have set a site ID (the one which is in the URL after 'site/').

Could you help me on that, please?

Thanks

8 answers
  1. Nov 18, 2022, 12:01 PM

    @Augusto Cardoso​ 

    Hi, I tested the code provided yesterday and it worked!!!. So, probably the error is in how are you defining the parameters, specifically the site_id. So let's say you sign in into the url in a browser:

    https://prod-uk-a.online.tableau.com/#/site/mod398492/home

     

    server_address = 'https://prod-uk-a.online.tableau.com'

    site_id = 'mod398492'

     

    If neccesary recreate the PAT token: https://help.tableau.com/current/pro/desktop/en-us/useracct.htm#create-and-revoke-personal-access-tokens

     

    If it keep failing, I would suggest to upgrade the tableauserverclient lybrary (maybe you have an old one).

     

    Believe me, the code I posted works. From my side, I really can't do anything else. You may need to work on how you adapted to your final code. It may be when you assign the value to the {site_id]

     

    If this post resolves the question, would you be so kind to "Select as Best"?. This will help other users find the same answer/resolution and help community keep track of answered questions. Thank you.

     

    Regards,

     

    Diego Martinez

    Tableau Visionary and Forums Ambassador

0/9000