Forum Discussion

ThomasDay's avatar
ThomasDay
Impactful Individual
10 years ago

embedded-expiration/timeout issue?

Hello fellow Embedders,

 

I have a site that is working great...until it sits for 3 minutes or perhaps 5.  Then I get this when I click another tab in the report.

The token expiration is set for 1 hr, btw, so I'm not sure what's up.  A refresh sets things straight.  What's to be done here..any ideas?

Thanks,

Tom

18 Replies

  • wabreza's avatar
    wabreza
    Microsoft Employee

    If you click on one of the "See Details" links do you get an activity or request id GUID?  If so please share.  I'll be able to look up the root cause of the issue with this information.

  • wabreza's avatar
    wabreza
    Microsoft Employee

    If this does come down to being a timeout issue you can try one of the following:

     

    • In a server generated app you can get around this by generating a token for each render of the page.
    • In a single page app (SPA) - one option is to set a client-side timer on your page/view that is shorter than your token expiration.  At that point you can regenerate the token and reload the report passing in the new access token.
    • ThomasDay's avatar
      ThomasDay
      Impactful Individual

      wabreza Here are the tech details of the error.  Let me know what you see as a root cause.....and thanks, Tom

       

      • wabreza's avatar
        wabreza
        Microsoft Employee

        Its a 403 which is an access issue.  What is the expiration of your generated tokens?  Is the expiration you are setting inline which the timeout you are seeing in the embedded report?