Hello again, when using the blog-post content type for the Get data for Hubspot hosted content, it returns the blog post ID as the breakdown. We then pass those blog post IDs into the List blog posts endpoint to get the names of each of those blog posts. However, we just ran into an issue where one or more of the blog post IDs returned by the analytics endpoint has a hyphen in it and then the call to get the blog post name returns an error saying it expected a long. Am I supposed to remove the hyphen from the blog post ID myself or is there something else going on?
Sincere apologies for dropping the ball on this thread... I completely missed your replies. Going forward, please be sure to tag me with @IsaacTakushi and your message will be much less likely to fall through the cracks.
I took a closer look and found the following:
The hyphenated "ID" is actually a legacy analytics_page_id which predates the current analytics system. It is combines the following values...
The591062string corresponds to anotheranalytics_page_id field as well as alegacy_tab_id which I had not previously encountered.
2. A couple of the IDs are "591062-203027" and "591062-203026". It appears they are all starting with "591062".
3. No I am using the List blog posts endpoint and using the (undocumented) parameter "id__in". It allows me to filter certain blog posts. It works for regular IDs but these hyphen ones cause a 400 response.
It is understandable that you would not support undocumented parameters, however, the issue still remains. Why am I seeing these blog IDs with hyphens when I query that analytics endpoint?
When I query the blog post endpoint without using the undocumented parameter and just page through every blog post, those IDs are still not present.
Hi, I never got a reply to my last comment. Was hoping for more info on this.
To reiterate, even if I do not use the undocumented parameter, and just page through all results from the List blog posts endpoint, the IDs with hyphens in them do not show up. Even if I remove the hyphens, they are not in this list.
I know that deleted blog posts will not appear in the results but even if they were deleted, why do they have hyphens at all?
Sincere apologies for dropping the ball on this thread... I completely missed your replies. Going forward, please be sure to tag me with @IsaacTakushi and your message will be much less likely to fall through the cracks.
I took a closer look and found the following:
The hyphenated "ID" is actually a legacy analytics_page_id which predates the current analytics system. It is combines the following values...
The591062string corresponds to anotheranalytics_page_id field as well as alegacy_tab_id which I had not previously encountered.