diff --git a/services/api-server/src/simcore_service_api_server/exceptions/service_errors_utils.py b/services/api-server/src/simcore_service_api_server/exceptions/service_errors_utils.py index 35ade2e1da10..516f7b0bd273 100644 --- a/services/api-server/src/simcore_service_api_server/exceptions/service_errors_utils.py +++ b/services/api-server/src/simcore_service_api_server/exceptions/service_errors_utils.py @@ -58,13 +58,13 @@ def _get_http_exception_kwargs( service_name: str, service_error: httpx.HTTPStatusError, http_status_map: HttpStatusMap, - **ctx: Any, + **exception_ctx: Any, ): detail: str = "" headers: dict[str, str] = {} if exception_type := http_status_map.get(service_error.response.status_code): - raise exception_type(**ctx) + raise exception_type(**exception_ctx) if service_error.response.status_code in { status.HTTP_429_TOO_MANY_REQUESTS,