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.