def METHOD_NAME(self, id):
    try:
        assert int(id) > 0, f"file id {id} must be positive integer"
    except Exception as e:
        raise ValidationError(f"file id {id} error: {e}")
    return id