Closed Bug 1488152 Opened 6 years ago Closed 6 years ago

alert: The token is not valid. It could be because you loaded this page more than 3 days ago.

Categories

(bugzilla.mozilla.org :: API, defect)

Staging
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1209148

People

(Reporter: freddy, Unassigned)

Details

I often times keep a tab to my dashboard (https://bugzilla.mozilla.org/page.cgi?id=mydashboard.html) open. Every once in a while I get an alert box like so: > Failed to load requests: > The token is not valid. It could be because you loaded this page more than 3 days ago. If I may, I would like to suggest that the script does not alert(), but instead tries to obtain a new token. In my experience there are two scenarios: I am not actually logged in. Bugzilla should prompt me to login and return back to my dashboard. I am logged in, but something else is weird. For those cases, refreshing the web page has worked well, i.e., it could do "location.reload()"
This behavior will be going away as part of API/session work I’m working on with kohei.
Component: User Interface → API
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.