API V1 Add Person

Hi,

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?

1 Like

@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!

1 Like

Thanks @siim that’s good to know - the integration has worked fine for a couple of years now, so this is the first I’m seeing of v2 of the API - is there a timeframe where really we ought to have migrated our integration to v2? (does v1 have an end of life?)

regards

Marc

Hi, is it possible that you reintroduced the same error?