Content search using groupId returns no results

bmhall2
Member

Hi,

 

We are attempting to utilize the content search API to search blog posts.  We have two blogs (21928619008 and 51598461274) on our portal (6268647).

 

When using the groupId filter with the first blog id, the expected results are returned.  However, when using the groupId filter with the second blog id, no results are returned for any search term.

 

We have published enough articles in the second blog where I would expect to see results on some of my searches.  Is anyone able to offer any insight?

 

Thank you.

0 Upvotes
1 Reply 1
piersg
Key Advisor

Hi @bmhall2, can you copy/paste the code you're using to access the Search API please?

 

I know you can string multiple group ids like this for a search

https://api.hubapi.com/cms/v3/site-search/search?groupId=51598461274&groupId=21928619008&hapikey=YOUR_HUBSPOT_API_KEY