# Missing IDs from Forms and Blog Posts

**URL:** <https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [November 9, 2018, 10:52pm UTC](https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296 "2018-11-09T22:52:37Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wes4](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wes4/32/48852_2.png) [@Wes4](https://community.hubspot.com/u/Wes4)\
**Post date:** [November 9, 2018, 10:52pm UTC](https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296/1 "2018-11-09T22:52:37Z")

</div>

Hello again HubSpot team, I know I’ve been a pain with all these questions but I am almost finished with my integration and just doing some tests and running into a few things. These should hopefully be my last few questions (fingers crossed). Let me know if you would prefer me to make separate topics for these.

1. What are the exact requirements of a user and a Hub portal in order to use the `business-intelligence` scope? The [docs](https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes) say “Any Marketing or CRM account” but that’s definitely not true. I’ve tried with a Marketing Free account and I get an error that says:

> This hub doesn’t have access to some HubSpot features that are required by this integration. Please contact the integrator.

I don’t get this error when I use Marketing Enterprise or Pro accounts. Is it just Marketing Free that can’t use it right now?

1. It seems like the IDs from the breakdowns do not match up with the ones returned from their respective endpoints. For example, when I call the [Get analytics data for specific objects](https://developers.hubspot.com/docs/methods/analytics/get-analytics-data-by-object) endpoint using the `forms` object type I get breakdowns in the form of GUIDs. I then call the [Get all forms from a portal](https://developers.hubspot.com/docs/methods/forms/v2/get_forms) endpoint and match the GUID to the form name. However, not all of the GUIDs passed back by the Analytics endpoint are present in the Forms endpiont. Is this because (maybe) that form has been deleted and still has previous analytics data but would not be returned by getting all forms anymore? The same thing happens with `blog-posts`. Not all of the IDs returned by the breakdowns are present in the [List blog posts](https://developers.hubspot.com/docs/methods/blogv2/get_blog_posts) endpoint. I should mention that I am using `hapikey=demo` to test those, which I know is not recommended anymore (I think), but the test account I created does not have enough data in it for decent testing.

---

<div class="post-metadata">

**Author:** ![Wes4](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wes4/32/48852_2.png) [@Wes4](https://community.hubspot.com/u/Wes4)\
**Post date:** [November 13, 2018, 6:12pm UTC](https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296/2 "2018-11-13T18:12:38Z")

</div>

Anyone have any info on this? I’m trying to get the integration out this week.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [November 13, 2018, 7:07pm UTC](https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296/3 "2018-11-13T19:07:45Z")

</div>

Hi again, [@Wes\_Thompson](https://community.hubspot.com/u/wes_thompson),

Apologies for the delayed response. Connor and I try to respond to topics in the order they are posted. Edits and subsequent posts — like the one today — reset the _[Last] Activity_ timer, making older topics appear much newer.

I’m glad to hear that you’ve made a lot of progress on your integration! Happy to clarify further:

1. While the `business-intelligence` scope itself exists at all subscription levels, the corresponding tool must also exist in an account for an endpoint to work. Generally speaking, users must have a _Marketing Hub Basic_ [no longer being sold], _Professional, or Enterprise_ subscription to use most of the Analytics API endpoints. Derek’s last response to [this topic of yours](https://integrate.hubspot.com/t/new-analytics-api-limitations/10010/8) is the clearest explanation I have found. I believe accounts with _Marketing Hub Free_ and _Starter_ subscriptions would only have access to form analytics data.
2. Yes, I believe this is because the associated objects have since been deleted. Could you provide an example form `guid` and `blog_post_id` so that I can verify?

---

<div class="post-metadata">

**Author:** ![Wes4](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wes4/32/48852_2.png) [@Wes4](https://community.hubspot.com/u/Wes4)\
**Post date:** [November 13, 2018, 7:44pm UTC](https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296/4 "2018-11-13T19:44:36Z")

</div>

1. Cool that makes good sense, thank you.
2. An example `guid` is the last breakdown returned by the [Analytics API](https://developers.hubspot.com/docs/methods/analytics/get-analytics-data-by-object): `6620143a-a4b1-4709-a537-c3e5b66c97c1`. An example `blog_post_id` would be the first one returned: `6230818511`. It seems like neither of these are present when I look for them in the [Get forms](https://developers.hubspot.com/docs/methods/forms/v2/get_forms) endpoint or the [List blog posts](https://developers.hubspot.com/docs/methods/blogv2/get_blog_posts) endpoint. I have also tried passing them in respectively to [Get a form by its unique ID](https://developers.hubspot.com/docs/methods/forms/v2/get_form) and Get the blog post by ID. They just tell me something like resource not found.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [November 13, 2018, 8:02pm UTC](https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296/5 "2018-11-13T20:02:20Z")

</div>

Thanks for that information, [@Wes\_Thompson](https://community.hubspot.com/u/wes_thompson).

I’ve confirmed that both form `6620143a-a4b1-4709-a537-c3e5b66c97c1` and blog post `6230818511` have been deleted from the demo account.

I also tested in my own test account and verified that objects which have analytics views will still appear in Analytics API results, but will _not_ be returned by their respective APIs.

---

<div class="post-metadata">

**Author:** ![Wes4](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wes4/32/48852_2.png) [@Wes4](https://community.hubspot.com/u/Wes4)\
**Post date:** [November 13, 2018, 8:13pm UTC](https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296/6 "2018-11-13T20:13:48Z")

</div>

[@Isaac\_Takushi](https://community.hubspot.com/u/isaac_takushi),

Perfect, thank you so much to your entire team for all the help. I should have enough now!

---

<div class="post-metadata">

**Author:** ![Wes4](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wes4/32/48852_2.png) [@Wes4](https://community.hubspot.com/u/Wes4)\
**Post date:** [November 15, 2018, 9:33pm UTC](https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296/7 "2018-11-15T21:33:54Z")

</div>

Hey [@Isaac\_Takushi](https://community.hubspot.com/u/isaac_takushi), I wanted to clarify one thing from your last response now that I’m looking at the data I’m getting back (I can’t tell if the docs are vague or if I just suck at reading). I know the [docs](https://developers.hubspot.com/docs/methods/analytics/analytics-overview) say that the data being returned mimics the data you would see in the analytics views and is heavily dependent on what data it is I’m requesting, but when you say:

Isaac\_Takushi:

> objects which have analytics views will still appear in Analytics API results

Does that mean that the API will return no data for fields that are not present in any analytics view on the dashboard? I am seeing page `entrances`, `exits`, and more, using an actual account I’m testing with, but the `pageTime` and `timePerPageView` are not being returned in the results. However, obviously somebody has spent time on the pages.

If that’s the case, will adding those fields to an analytics view still give me historical data, or will it only have data starting from the time it was added? I would test this myself but I am using a client’s account for testing and do not want to mess with their dashboard or tell them to mess with it until I am 100% sure they need to.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [November 19, 2018, 2:36pm UTC](https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296/8 "2018-11-19T14:36:21Z")

</div>

Hey, [@Wes\_Thompson](https://community.hubspot.com/u/wes_thompson),

I think we’re operating under different definitions of an “analytics view.”

I simply meant that assets with historical analytics information — like page views — seem to be returned from the Analytics API, even if they have been deleted.

You, on the other hand, seem to be referring to an “analytics view” as a dashboard report. These widgets pull from the same analytics data as the Analytics API, so you don’t have to set up a report before you can pull that information from the API.

---

<div class="post-metadata">

**Author:** ![Wes4](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wes4/32/48852_2.png) [@Wes4](https://community.hubspot.com/u/Wes4)\
**Post date:** [November 19, 2018, 6:19pm UTC](https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296/9 "2018-11-19T18:19:41Z")

</div>

[@Isaac\_Takushi](https://community.hubspot.com/u/isaac_takushi), thanks again for all your help. Do you know why I would be getting no data for `pageTime` when clearly people have been on the page based on the other data?

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [November 19, 2018, 6:38pm UTC](https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296/10 "2018-11-19T18:38:39Z")

</div>

Sure thing, [@Wes\_Thompson](https://community.hubspot.com/u/wes_thompson).

I’m not sure about that! Could you share the Hub ID and a request URL where you’re seeing that?

---

<div class="post-metadata">

**Author:** ![Wes4](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wes4/32/48852_2.png) [@Wes4](https://community.hubspot.com/u/Wes4)\
**Post date:** [November 19, 2018, 11:20pm UTC](https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296/11 "2018-11-19T23:20:48Z")

</div>

Hey [@Isaac\_Takushi](https://community.hubspot.com/u/isaac_takushi), actually no further assistance is necessary. I figured it out on my end. The integration is up and running now so I don’t think you’ll be seeing me again haha. Thanks again for everything.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [November 20, 2018, 12:55pm UTC](https://community.hubspot.com/t/missing-ids-from-forms-and-blog-posts/11296/12 "2018-11-20T12:55:05Z")

</div>

Happy to help, [@Wes\_Thompson](https://community.hubspot.com/u/wes_thompson)!
