{"id":1058,"date":"2025-07-30T14:42:48","date_gmt":"2025-07-30T14:42:48","guid":{"rendered":"http:\/\/gogetmuscle.com\/?p=1058"},"modified":"2025-07-30T17:39:37","modified_gmt":"2025-07-30T17:39:37","slug":"manipulate-crm-data-using-js-in-module","status":"publish","type":"post","link":"http:\/\/gogetmuscle.com\/index.php\/2025\/07\/30\/manipulate-crm-data-using-js-in-module\/","title":{"rendered":"Manipulate CRM Data using JS in Module"},"content":{"rendered":"

Hi everyone,<\/P>
\n

I\u2019ve been using HubSpot for a while now and recently encountered an issue while trying to import CRM object data in the frontend. Previously, I could fetch CRM object data like this:

<\/P>
\n

{{ % set crm_data = crm_objects(“cars”, 10, “hs_object_id, name, brand, model”) % }}<\/STRONG>
{{ % set all_crm_cars = crm_data.results % }}

<\/STRONG><\/P>
\n

<\/STRONG>
const allCars = {{ all_crm_cars|tojson }};<\/STRONG>



<\/STRONG><\/P>
\n

However, I\u2019m currently facing the following error when attempting the same:<\/P>
\n

java.lang.StackOverflowErrorOriginating Exception: StackOverflowError<\/CODE><\/P>
\n

Has there been any recent changes in the HubSpot platform regarding the way CRM object data is imported to the frontend? I\u2019m wondering if this error is related to some update or change that I may have missed.<\/P>
\n

Any advice or insights would be greatly appreciated!<\/P>
\n

Thanks in advance!<\/P>
\n



<\/STRONG><\/P><\/p>\n","protected":false},"excerpt":{"rendered":"

Hi everyone, I\u2019ve been using HubSpot for a while now and recently encountered an issue while trying to import CRM object data in the frontend. Previously, I could fetch CRM object data like this: {{ % set crm_data = crm_objects(“cars”, 10, “hs_object_id, name, brand, model”) % }}{{ % set all_crm_cars = crm_data.results % }} const […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1058"}],"collection":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/comments?post=1058"}],"version-history":[{"count":1,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1058\/revisions"}],"predecessor-version":[{"id":1059,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1058\/revisions\/1059"}],"wp:attachment":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/media?parent=1058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/categories?post=1058"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/tags?post=1058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}