HTTP 500 after massive call

Hi!

After a massive call to POST https://api.pipedrive.com/v1/activities/?api_token={our-token} I am facing HTTP 500:

{
“success”: false,
“error”: “Something went wrong with the request, please check your request and try again!”,
“error_info”: “Acesse developers.pipedrive.com para mais informações sobre a API do Pipedrive.”,
“data”: null,
“additional_data”: null
}

I was importing data from a legacy system. Yesterday I imported over 10K Activities.
I reached support and was informed about a daily request limit: https://pipedrive.readme.io/docs/core-api-concepts-rate-limiting

However, after 24h I am still facing the same issue.
Please check response header:

x-daily-requests-left: 9862
X-RateLimit-Limit: 40
X-RateLimit-Remaining: 39
X-RateLimit-Reset: 2

Only POST Activity is not working. Others methos are working fine as well as others Entities.

Thanks in advance,

Gustavo Carvalho.

Hi Gustavo,

Are you still encountering this and how many activities are you trying to add?

Hi David,

Actually I have just encounter the problem. The problem was that I had two participants with the same code, and it causes HTTP 500, like:

{
"done": "1",
"due_date": "1993-02-13",
"due_time": "19:00",
"duration": "04:00",
"subject": "TP2",
"type": "curso",
"participants": [
    {
        "person_id": 7043,
        "primary_flag": "true"
    },
    {
        "person_id": **7145**,
        "primary_flag": "false"
    },
    {
        "person_id": **7145**,
        "primary_flag": "false"
    }
]
}

Thanks,

Gustavo Carvalho.

1 Like