aws / aws-cli

Universal Command Line Interface for Amazon Web Services
Other
15.46k stars 4.1k forks source link

s3errormsg: handle none error message #8676

Open clwluvw opened 4 months ago

clwluvw commented 4 months ago

Description of changes: If the returned xml contains an empty message <Message></Message> this will be translated to None type in the parsed var from botocore therefore in the enhance_error_msg checks it will fail to iterate on by the _is_sigv4_error_message and _is_kms_sigv4_error_message functions.

clwluvw commented 4 months ago

Hi @kdaily - Could you please take a look at this?

clwluvw commented 3 months ago

Hi @kyleknap - Could you please take a look at this?