We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdf39b2 commit 21c74a1Copy full SHA for 21c74a1
1 file changed
botocore/parsers.py
@@ -300,7 +300,7 @@ def _is_generic_error_response(self, response):
300
# non sensical parsed data.
301
# To prevent this case from happening we first need to check
302
# whether or not this response looks like the generic response.
303
- if response['status_code'] >= 500:
+ if response['status_code'] >= 400:
304
if 'body' not in response or response['body'] is None:
305
return True
306
0 commit comments