Marketing Events API participants breakdown return 500

I am trying to get participants breakdown of Marketing events

The request is GET https://api.hubapi.com/marketing/v3/marketing-events/participations/237805987910/breakdown?limit=100

Howerver it returns 500 Internal Server Error

{

“status”: “error”,

“message”: “internal error”,

“correlationId”: “cb10079f-4ee1-4047-b451-b04c2c009a67”

}

If I set the query param limit=68 or lower, this endpoint return records perfectly fine. But if I set the limit=69 or higher, the response I get is 500 Internal Server Error.

{

“status”: “error”,

“message”: “internal error”,

“correlationId”: “b25de245-018a-4846-a322-f864f0a5eee4”

}

Is there any fix for this?

Hey, @jing :waving_hand: Do you get the same result when using a limit of 100 when using Postman? I set up a quick test using my dev account and couldn’t trigger the 500 error. Here’s what I did:

  • I created a dummy test event

  • Added a bunch of my test contacts

  • Made a request to the endpoint you listed above

  • I tried limits of 100, 75, 69, 68, 45, and 10

  • All returned a 200 success message

  • Example request and response using 100 and using 75 for limits:
    Requests
    https://api.hubapi.com/marketing/v3/marketing-events/participations/396112961291/breakdown?limit=100​https://api.hubapi.com/marketing/v3/marketing-events/participations/396112961291/breakdown?limit=75

    Response for both

    {
     "total": 16,
     "results": [
     {
     "id": "396105118748",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "451",
     "email": "pickles@catsrule.xyz",
     "firstname": "Pickles",
     "lastname": "Lewis"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:47:37.352Z"
     },
     {
     "id": "396105723508",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "551",
     "email": "pickle@cat.com",
     "firstname": "Pickle",
     "lastname": "Cat"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:47:22.472Z"
     },
     {
     "id": "396083433493",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "801",
     "email": "louise@bobsburgers.com",
     "firstname": "Louise",
     "lastname": "Belcher"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:46:47.197Z"
     },
     {
     "id": "396117129902",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "851",
     "email": "linda@bobsburgers.com",
     "firstname": "Linda",
     "lastname": "Belcher"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:46:30.399Z"
     },
     {
     "id": "396103861934",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "951",
     "email": "gene@bobsburgers.com",
     "firstname": "Gene",
     "lastname": "Belcher"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:46:13.885Z"
     },
     {
     "id": "396104027990",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "1001",
     "email": "tina@bobsburgers.com",
     "firstname": "Tina",
     "lastname": "Belcher"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:46:01.327Z"
     },
     {
     "id": "396103860807",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "1051",
     "email": "mburns@snpp.com",
     "firstname": "Montgomery",
     "lastname": "Burns"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:45:37.061Z"
     },
     {
     "id": "396116344195",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "1501",
     "email": "teddy@bobsburgers.com",
     "firstname": "Teddy",
     "lastname": "-"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:45:00.893Z"
     },
     {
     "id": "396103707530",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "1601",
     "email": "mort@bobsburgers.com",
     "firstname": "Mort",
     "lastname": "-"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:44:48.220Z"
     },
     {
     "id": "396105777467",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "1701",
     "email": "mrfrond@bobsburgers.com",
     "firstname": "Phillip",
     "lastname": "Frond"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:44:36.926Z"
     },
     {
     "id": "396104276815",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "1801",
     "email": "jimmy@jimmypestopizzeria.com",
     "firstname": "Jimmy",
     "lastname": "Pesto"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:44:20.527Z"
     },
     {
     "id": "396105930602",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "2201",
     "email": "mlewis@biglytics.net",
     "firstname": "Mango",
     "lastname": "Lewis"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:44:03.399Z"
     },
     {
     "id": "396104656930",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "2251",
     "email": "-",
     "firstname": "Mango",
     "lastname": "Lewis"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:43:27.008Z"
     },
     {
     "id": "396117496114",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "29510315528",
     "email": "gayle+genarro@bobsburgers.com",
     "firstname": "Gayle",
     "lastname": "Genarro"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:43:05.012Z"
     },
     {
     "id": "396100529063",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "84259243832",
     "email": "bob.belcher@bobsburgers.com",
     "firstname": "Bob",
     "lastname": "Belcher"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:42:47.037Z"
     },
     {
     "id": "396102411534",
     "properties": {
     "attendanceState": "ATTENDED",
     "occurredAt": 1704902400000,
     "attendanceDurationSeconds": 7200,
     "attendancePercentage": "93.63"
     },
     "associations": {
     "contact": {
     "contactId": "901",
     "email": "bob@bobsburgers.com",
     "firstname": "Bob",
     "lastname": "Belcher"
     },
     "marketingEvent": {
     "marketingEventId": "396112961291",
     "name": "Developer Workshop Q1 2025",
     "externalEventId": "devworkshop020",
     "externalAccountId": "testacc123"
     }
     },
     "createdAt": "2025-01-10T16:41:41.986Z"
     }
     ]
    }​
    

I hope this helps. Let me know if you get the same result using Postman.

Talk soon! — Jaycee

Hi Jaycee,

This issue occurs only for certain event Ids. For some events, I can retrieve all participations, but for some I can not. The HubSpot portal id is 4686263. Can you test for this hubspot portal 4686263 and this specific event? https://api.hubapi.com/marketing/v3/marketing-events/participations/237805987910/breakdown?limit=100