Page MenuHomePhabricator

Invalid session key error at describe-file submission
Closed, ResolvedPublic

Description

Author: neilk

Description:
In a batch of three files, this was returned when POSTing the final one.

{"error":{"code":"invalid-session-key","info":"Not a valid session key"}}

  1. how does this happen? if we made it through the first stage, surely we have a valid session key.
  2. Also, the error was not handled, instead we blocked on all the files.

Here's the contents of the POST (although it's probably irrelevant, the others had similar contents and they worked).

action upload
filename UploadWizard-0.1-14-use.png
format json
sessionkey 4j117az9oqk5j1yo3ndrvp32x9zc1fn.png
summary User created page with UploadWizard (alpha)
text =={{int:filedesc}}== {{Information |description={{en|1=Final thank you page with links to show how to use these files, in version 0.1 of the Wikimedia Commons UploadWizard. Browser: Mozilla Firefox 3.6.12, Mac OS X version.}} |date=2010-11-30 |source=http://commons.wikimedia.org/wiki/Special:UploadWizard |author=Wikimedia Foundation |permission= |other_versions= |other_fields= }} =={{int:otherinfo}}== {{free screenshot}}=={{int:license-header}}== {{Cc-by-sa-3.0}} [[Category:Uploaded with UploadWizard]] [[Category:Screenshot]] [[Category:UploadWizard-0.1]]
token 55287cfcb111ff4f0dba1be45469cb02+\


Version: unspecified
Severity: normal

Details

Reference
bz26183

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:11 PM
bzimport added a project: UploadWizard.
bzimport set Reference to bz26183.

You're saying you 1) stashed a file and got that key, 2) successfully used that key to grab metadata and a thumb, 3) got that error when trying to upload the image for real? That's disturbing.

neilk wrote:

not reproducible, so making it no longer a blocker

neilk wrote:

Pretty sure this is related to the app looking for the previous UploadStash thumbnail after it has been removed. Should be fixed since r89913