Seeing the following error while trying to upload an image using the API. The request has token with the user being a sysop with all the permissions.
The info should be more clear as to what is not working.
{"error":{"code":"permissiondenied","info":"Permission denied","*":"See http://www.example.com/wiki/api.php for API usage"}}