def METHOD_NAME(self):
    response = self.get_error_response(
        "me",
        type="invalid",
        status_code=status.HTTP_400_BAD_REQUEST,
    )
    assert response.data["type"] == ["Invalid type"]