Hello,
I am getting an error while trying to create an `EventDefinition` using C# API. I have forked from `https://github.com/boomandbucket/HubSpot.NET` and customized it to work with CRUD methods for EventDefition. I am getting an error when trying to create an `EventDefinition`.
The error I am getting is
HubSpot.NET.Core.HubSpotException : Error from HubSpot, Response = {"status":"error","message":"Invalid input JSON on line 1, column 143. Some required fields were not set: [label]","correlationId":"4e24f2e8-7d6a-4dee-93e1-cd75cd67679f","category":"VALIDATION_ERROR"}
The issue is not evident from the error message. This is the json generated.
{"labels":{"singular":"test_event1","plural":"Test Events"},"name":"testevent12345","description":"test description","primaryObject":"CONTACT"}
Any idea what could be wrong here?