question

transam350 avatar image
0 Likes"
transam350 asked ·

Token that lasts longer than two hours?

Hello! I am new to programming but am building a python script to load into Power Bi to have a sales dashboard for my account. I have everything working, but when I get the Oauth token, it only lasts two hours. Oddly, I have to approve my own token when I go to the webpage to get it. Is it possible to get one that lasts for a much longer time period? or do I need to program the script with a POST request and deal with it that way?

auth-token
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
helios825 avatar image
0 Likes"
helios825 answered ·

I think 2 hours is the maximum time frame. Yes, you'll want to automate refreshing of the token.

· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.