**Problem:**
This error was previously discussed in T274149. To find the origin of the error, logging was enhanced. The error popped up again. The author of the most recent reports (this and the related T285066) added the following for context:
> I was trying to edit a picture of a template, but it gave me an error, I think it was because I was doing it from the mobile. When I tried to do it from the computer, I had no problem.
There are additional stack traces in the bug reports marked as duplicates.
**Acceptance criteria:**
We try out [[ https://phabricator.wikimedia.org/T285064#7168866 | Lucas's idea ]]:
* when we get this error, the initialization is restarted from scratch once (not infinitely many times!)
* optional: we log or track whether it worked that second time or not (e.g. in Grafana)
(after the ticket is closed, we can wait and see if this pops up again)
**Original:**
The error happened on: https://ca.m.wikipedia.org/wiki/Carles_Sala_i_Vila
Item title: Q16187514
Property: P106
Error message: INITIALIZATION_ERROR
Approximate time of request: 2021-06-16T18:15:23.867Z
Debug information:
```
[
{
"type": "INITIALIZATION_ERROR",
"info": {
"errors": [
{
"code": "badtoken",
"key": "badtoken",
"params": [
"apierror-centralauth-badtoken"
],
"module": "main"
}
],
"name": "Error",
"message": "badtoken",
"stack": "_r@https://ca.m.wikipedia.org/w/load.php?lang=ca&modules=wikibase.client.data-bridge.app.modern&skin=minerva&version=tyb9e:31:63082\nmwApiRejectionToError@https://ca.m.wikipedia.org/w/load.php?lang=ca&modules=wikibase.client.data-bridge.app.modern&skin=minerva&version=tyb9e:31:63933\nmightThrow@https://ca.m.wikipedia.org/w/load.php?lang=ca&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=minerva&version=16h4x:49:838\nhttps://ca.m.wikipedia.org/w/load.php?lang=ca&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=minerva&version=16h4x:50:508"
}
}
]
```