MediaWiki:Apierror-cannot-async-upload-file
From DISCO3.CO.UK Knowledge Base
The parameters async and file cannot be combined. If you want asynchronous processing of your uploaded file, first upload it to stash (using the stash parameter) and then publish the stashed file asynchronously (using filekey and async).