Empty breakdown value

Hi,

Is it possible to get empty values for breakdown?

Endpoint with query param:

analytics/v2/reports/sources/total?start=20141121&end=20201128&limit=1000&d1={d1-value}&d2={d2-value}&offset=0

Response we got similar was similar to below. Notice empty value for breakdown.

{
    "offset": 1,
    "total": 1,
    "totals": {
        "leads": 5,
        "contacts": 7
    },
    "breakdowns": [
        {
            "mappedBreakdown": 1,
            "breakdown": "sample-contact",
            "leads": 2,
            "contacts": 2
        }

    {
            "mappedBreakdown": 1,
            "breakdown": "",
            "leads": 3,
            "contacts": 5
        }
    ]
}

Hi @banstola

Unfortunately it is not possible using the Analytics API to fetch results that will return empty values for the breakdown.

These endpoints are designed to fetch data that matches the parameters defined in the request URL, in the event there are no results, an empty response is returned.

I am happy to pass you query along to our team internally, though.

I hope this helps!

Interesting. We have such case. Unfurtunately we can not share more details. But when we are making request to following endpoint

analytics/v2/reports/sources/total?start=20141121&end=20201128&limit=1000&d1={d1-value}&d2={d2-value}&offset=0

we have encountered breakdown object with empty breakdown value. We confirmed that with raw response we obtained from HubSpot API.

If you could pass this to tech team.

Hi @banstola

Would you be able to possibly direct message me with some more details as to the example you’ve seen when making this request and returning the empty breakdown value?

If at all possible, could this include the response and the request that was made when this was received?

Thanks