We are experiencing a weird issue while trying to upload an image to Wikimedia Commons from the Commons Android app.
The issue is being discussed here: https://github.com/commons-app/apps-android-commons/issues/1485
Just to set the context:
- I came up to you during Wikimania seeking help for the same and you had requested for the Headers for the upload request.
- You were suspecting an incorrect cookie being sent.
- The upload fails for some users and we are unable to pinpoint the scenario. It works well for other users.
- We recently made changes in how we deal with authentication(added 2FA support) and that could have affected the how cookies are managed.
We are now logging all headers and here's the relevant logs from the device. I am not trimming the logs as I am not sure which part is relevant.