diff --git a/examples/event_handler_rest/src/micro_function_user_by_id_route.py b/examples/event_handler_rest/src/micro_function_user_by_id_route.py index 177ddbea039..baa083d97f5 100644 --- a/examples/event_handler_rest/src/micro_function_user_by_id_route.py +++ b/examples/event_handler_rest/src/micro_function_user_by_id_route.py @@ -66,7 +66,7 @@ def all_active_users(user_id: str): ) else: - return Response(status_code=HTTPStatus.NO_CONTENT) + return Response(status_code=HTTPStatus.NOT_FOUND) @logger.inject_lambda_context()