Deal Probability returning incorrect value

I’m using Restsharp (v106.2.1) coding in c#. (latest nuget package)

I’m doing this request https://api.pipedrive.com/v1/deals/4?api_token=xxxxxxxxx

When I use this in the browser, it works fine.

However, when Restsharp returns the response, probability always has the value of “0” (zero), even when it’s null.

So before I start debugging Restsharp, has anyone else had this problem?

I’ve worked out is a problem with NewtonSoft.Json serializer… still working on it.

Was simple typo in the field name (missed an i in probability).

The simplest mistakes are always the worst. :slight_smile:
Glad you figured it out!