Return the AWS error message when failed to connect.