I’ve got a schema for a `Donation` Type and the f...
# prisma-whats-new
c
I’ve got a schema for a
Donation
Type and the first time I attempt to create a donation, it works fine but the second time, I get this error:
Copy code
{
  "data": {
    "createDonation": null
  },
  "errors": [
    {
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "createDonation"
      ],
      "code": 3032,
      "message": "The field 'campaign' on type 'Donation' is required. Performing this mutation would violate the constraint",
      "requestId": "eu-west-1:simple:cj82jcli9jgy70167eq91juig"
    }
  ]
}