fix wrong error message when aws_access_key_id is missing