From 179e8b5361cd83d4c4acdf0c1bc1708b4a6966e9 Mon Sep 17 00:00:00 2001 From: Ujl <19787410+ubaskota@users.noreply.github.com> Date: Tue, 5 Nov 2024 14:24:46 -0500 Subject: [PATCH] Fixes the issue in EndpointExceptionError by changing the format of the error message (#3296) --- botocore/endpoint_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botocore/endpoint_provider.py b/botocore/endpoint_provider.py index 9439086c53..38b0a5ffe6 100644 --- a/botocore/endpoint_provider.py +++ b/botocore/endpoint_provider.py @@ -638,7 +638,7 @@ def process_input(self, value): return self.default if self.required: raise EndpointResolutionError( - f"Cannot find value for required parameter {self.name}" + msg=f"Cannot find value for required parameter {self.name}" ) # in all other cases, the parameter will keep the value None else: