Unexpected response from stage_id

Hi Pipedrive Devs,

I am copying an investigation that our engineers conducted:

Looks like for field stage_id we are expecting long but the value is coming as string ,
The documentation suggests ( Pipedrive API v1 Reference) it should be an Integer value but we are receiving a string.

curl -H ‘Authorization: Bearer ********’ -H ‘Accept: application/json’ -A ‘Jersey/2.31’ ‘https://osome-867087.pipedrive.com/deals/261/flow?all_changes=1&items=change&start=0’ | jsonpp

As shown below

“object”: “dealChange”,
“timestamp”: “2019-12-10 03:23:18”,
“data”: {
“id”: 12488,
“item_id”: 261,
“user_id”: 10021982,
“field_key”: “stage_id”,
“old_value”: “1”,
“new_value”: “08c1f0b2-1afc-11ea-9b43-5fcdd2382ee1”,
“is_bulk_update_flag”: null,
“log_time”: “2019-12-10 03:23:18”,
“change_source”: “app”,
“change_source_user_agent”: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36”,
“additional_data”: []

We want to understand how this is possible.

A little background of Fivetran: We are an ELT tool that extracts our customer’s data from their application and sends that data to our mutual customer’s data warehouse of choice so they can analyze their data as they want.

Hi Samuel,

I also don’t understand how you would get that as a result instead of an integer.

Did this only occur 1 time or have you been able to repeat it?

It has been happening constantly.

I’m afraid that image doesn’t really tell me anything, but perhaps you could give me more details as to how these deals are being changed? Is it automated or manual and if it’s automated, what system are you using?