def METHOD_NAME() -> Any:
    user_id = get_value_from_request_json("user_id")
    if user_id is None:
        raise (
            ApiError(
                error_code="user_id_is_required",
                message="Attribute user_id is required",
                status_code=400,
            )
        )
    user = UserModel.query.filter_by(id=user_id).first()
    if user is None:
        raise (
            ApiError(
                error_code="user_cannot_be_found",
                message=f"User cannot be found: {user_id}",
                status_code=400,
            )
        )
    return user