MediaWiki:Apierror-cannot-async-upload-file
From British Saws and Saw Makers Updates
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).