Forum Discussion
Data source credentials use old token
Thank you so much for the reply Xiaoxin.
It is not the REST API token we are using. It is our own server, without any generate token possibility (yet).
I talked with colleagues and they suggested to move the token into a parameter and use that parameter in the advanced editor mode, such that you authorize on url level without the token in it. It works again in Power BI Desktop, but after publish the old token is still there.
To get rid off the data source, I completely removed it and published the dashboard with all errors. After that I added the source again with the parameter, but still the old token is shown on authorization..
HI MennoTwill,
Can you share some formula sample about invoke api? How did your token generated?
BTW, I also suggest you add a custom function in your service to return avaliabed token string. It will be help to prevent similar expired issue.
Regards,
Xiaoxin Sheng