MediaWiki:Apierror-cannot-async-upload-file
From Rusted Promises
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).