From 4497f18c1a32653db601a6da0e0a9cc036383605 Mon Sep 17 00:00:00 2001 From: Jack Danger Date: Fri, 27 Sep 2019 11:14:53 -0700 Subject: [PATCH] fixing ErrorResponse top-level tag (#2434) In the golang SDK the previous format throws an unmarshaling error: /usr/local/Cellar/go/1.12.6/libexec/src/encoding/xml/read.go:209 &errors.errorString{s:"unknown error response tag, {{ Response} []}"} err: <*>SerializationError: failed to unmarshal error message --- moto/core/exceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moto/core/exceptions.py b/moto/core/exceptions.py index 06cfd8895..a81d89093 100644 --- a/moto/core/exceptions.py +++ b/moto/core/exceptions.py @@ -14,7 +14,7 @@ SINGLE_ERROR_RESPONSE = u""" """ ERROR_RESPONSE = u""" - + {{error_type}} @@ -23,7 +23,7 @@ ERROR_RESPONSE = u""" 7a62c49f-347e-4fc4-9331-6e8eEXAMPLE - + """ ERROR_JSON_RESPONSE = u"""{