def METHOD_NAME(self):
    project = self.create_project()
    response = self.do_request(
        {
            "project": [self.project.id, project.id],
            "transaction": self.transaction_data["transaction"],
            "type": "web",
        }
    )
    assert response.status_code == 400, response.content
    assert response.data == {
        "non_field_errors": [ErrorDetail("Only 1 project allowed.", code="invalid")],
    }