I am using https://github.com/DavidRouyer/pipedrive-dotnet C# Library to use the API V1. Suddenly the API returns null for the field “company_id” when adding a Person and the Response doesnt allow this value to be null and therefore raises an Exception. I know that the ApiClient Library hasnt had an update for quite some time but if i didnt miss it, it was never communicated that this field is nullable. Every other endpoint like Organization returns a value for the CompanyID. Is this a mistake with the API V2, since the field was removed there?
@Flow2606 exact same happened with our integration, I changed the company_id in our model to be ‘nullable’ and we no longer get the exception, but before I could deploy the fix, it’s also not happening in production anymore.
Has your issue also just ‘gone away’? (will save an emergency before Christmas deployment!)
I have the same issue. On top of that, I also get the error “Required field ‘Organization’ (term) is missing.” using Zapier now. That might be related.
Hi all! The company_id value being removed from POST /persons endpoint response was an unfortunate bug and has been fixed since yesterday. Sorry for the inconvenience!