Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
After just using the report for 5-10 min I get this error on my embedded report.
I think this is an inactivity timeout issue. Can anyone help on this? How can I increase the timeout period or if I can simply refresh the token automatically once it timesout.
Regards,
Himanshu
Solved! Go to Solution.
Hi @Anonymous,
AFAIK, get embed token API will also provide the expiry date time in the response results.
In my opinion, I'd like to suggest you do add a global variable to store the token and expired DateTime.
Then you can modify get token processing to check the variable and switch to get the current token or invoke the API to generate token.
Embed Token - Reports GenerateTokenForCreateInGroup (Power BI Power BI REST APIs) | Microsoft Docs
Regards,
Xiaoxin Sheng
HI @Anonymous,
What type of content are you used on these visuals? Can you please share more detailed information?
How to Get Your Question Answered Quickly
BTW, you can also take a look at the following link about common refresh scenarios in power bi service:
Troubleshooting refresh scenarios - Power BI | Microsoft Docs
Regards,
Xiaoxin Sheng
I have a report with sql server as my source(import mode) and I've embedded the report to my current running application. But after like say 10 min the report gets time out and show the error thats in the screenshot.
I dont understand how to rectify this issue. Please guide.
I think it has to do with the embed token timeout but not sure how to check that and where.
Regards,
Himanshu
Hi @Anonymous,
AFAIK, get embed token API will also provide the expiry date time in the response results.
In my opinion, I'd like to suggest you do add a global variable to store the token and expired DateTime.
Then you can modify get token processing to check the variable and switch to get the current token or invoke the API to generate token.
Embed Token - Reports GenerateTokenForCreateInGroup (Power BI Power BI REST APIs) | Microsoft Docs
Regards,
Xiaoxin Sheng
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
4 | |
4 | |
4 |