Testing fix for bad error messages when wrong access key or secret key is passed as parameter