Pipedrive Error 500 - while creating deal

Hello everyone!

I am facing an issue while creating a deal using Pipedrive’s API endpoint.

For this scenarios, I am making a POST request to this endpoint: Log in

I am sending “RAW” type body content, where the Content Type is “application/json”.

Below is the body I am sending for my request:
{
“title”:“Fayzul Testing”,
“owner_id”:11229549,
“person_id”:98491 ,
“pipeline_id”:6,
“stage_id”:36,
“currency”:“USD”,
“value”:1900,
“status”:“open”,
“custom_fields”: {
“zf315c61252b073f0d40908e838f587f8a58f665”:15,
“z8a21da76841aeca02343e116c48d311d47feb85”:“$250,000+”,
“z45a7b07257f90d0992c0df39a49613f33c91681”:“The demo Sheet”,
“zc35a9fe1231d6cfe2a061cba9bd194711b476e4”:“social”,
“z5721ff1d4484291d9559137dd270f2a6e123e3f”:“ig”,
“zd0a84922814677d770b0f0b591fbf792a32b7b6”:“The demo Sheet”,
“za8f6e70e263a48cedf977e0eb53fd5d3283a41c”:“Partnership”,
“z86ebc4b15153bd7474e9c8f4424196f6d9bc700”:null,
“zfc360ca519eff1ad8e856f6b4e162584f0d75c6”:“link_in_bio”,
“z563812d06987b413ff317b7a73dce8e6e0de05e”:“https://l.instagram.com/”
}
}

However I am facing the below error while making the request:

500 - “{\“success\”:false,\“errorCode\”:500,\“error_info\”:\“Please check developers.pipedrive.com\”}”

I don’t have any format issue in my json body, as far as I can understand. Please help me solve this issue. If you need more context for this scenario do tell me also.

Hi!

Thanks for the detailed report. To confirm: is the 500 happening on every attempt, or only sometimes?

If it fails consistently on every request, could you also try creating the deal without the custom fields first, then patching them in? That’ll help us tell whether it’s the infrastructure issue or something specific to one of your field types.