From d89d6e9fa1f3fe6e13af4b60637c3bea943d200c Mon Sep 17 00:00:00 2001 From: Ujjwal Baskota Date: Tue, 5 Nov 2024 12:33:41 -0500 Subject: [PATCH] Fixes the issue in EndpointExceptionError by changing the format of the error message --- 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: