# Develop, Build & Integrate

**URL:** https://community.hubspot.com/c/develop-build-integrate/58.md?page=129

[Latest](https://community.hubspot.com/latest.md) · [Categories](https://community.hubspot.com/categories.md) · [Tags](https://community.hubspot.com/tags.md)

**Page:** 130

---

## [API Calls for Ad activity](https://community.hubspot.com/t/api-calls-for-ad-activity/124929)

<div class="topic-metadata">

**Author:** [@YGazit](https://community.hubspot.com/u/YGazit)\
**Replies:** 1\
**Last updated:** [January 28, 2025, 3:05pm UTC](https://community.hubspot.com/t/api-calls-for-ad-activity/124929 "2025-01-28T15:05:59Z")

</div>

There is an option to retrive api calls (end point) for contact’s ad activity?

---

## [Cookie banner custom code for mobile](https://community.hubspot.com/t/cookie-banner-custom-code-for-mobile/10444)

<div class="topic-metadata">

**Author:** [@Marlene](https://community.hubspot.com/u/Marlene)\
**Replies:** 5\
**Last updated:** [January 28, 2025, 3:01pm UTC](https://community.hubspot.com/t/cookie-banner-custom-code-for-mobile/10444 "2025-01-28T15:01:21Z")

</div>

Hi, I have a problem with our cookie banner. I have add some custom code in the Website-Footer-HTML because we need a special design. On google chrome desktop it looks fine (screenshot 1) bute on safari desktop and on m…

---

## [\[Authorize\] Couldn’t complete the connection (with optional scopes)](https://community.hubspot.com/t/authorize-couldn-t-complete-the-connection-with-optional-scopes/123874)

<div class="topic-metadata">

**Author:** [@ClicData](https://community.hubspot.com/u/ClicData)\
**Replies:** 6\
**Last updated:** [January 28, 2025, 2:46pm UTC](https://community.hubspot.com/t/authorize-couldn-t-complete-the-connection-with-optional-scopes/123874 "2025-01-28T14:46:25Z")

</div>

Hi, Our customers are experiencing an issue regarding authorization: they need to authorize our app using a Super Admin hubspot user. To correct that, I tried to remove a scope that seemed to require a Super Admin user…

---

## [Contacts not created in the Sandbox](https://community.hubspot.com/t/contacts-not-created-in-the-sandbox/124801)

<div class="topic-metadata">

**Author:** [@Ktamir](https://community.hubspot.com/u/Ktamir)\
**Replies:** 2\
**Last updated:** [January 28, 2025, 2:09pm UTC](https://community.hubspot.com/t/contacts-not-created-in-the-sandbox/124801 "2025-01-28T14:09:10Z")

</div>

Hi, My customer connected his platform to the sandbox, but it seems that contacts aren’t created. The same behavior that we see in production doesn’t happen in the sandbox (see the attached screenshots). What could be t…

---

## [Unable to update goals via API](https://community.hubspot.com/t/unable-to-update-goals-via-api/124643)

<div class="topic-metadata">

**Author:** [@AAjenifuja](https://community.hubspot.com/u/AAjenifuja)\
**Replies:** 7\
**Last updated:** [January 28, 2025, 6:57am UTC](https://community.hubspot.com/t/unable-to-update-goals-via-api/124643 "2025-01-28T06:57:02Z")

</div>

I’m unable to update goals via the python API. Executing either one of the following: from hubspot.crm.objects.goals import BatchInputSimplePublicObjectBatchInput from hubspot.crm.objects.goals import BatchInputSimple…

---

## [Marketing Events API - How to get an external event ID number?](https://community.hubspot.com/t/marketing-events-api-how-to-get-an-external-event-id-number/74237)

<div class="topic-metadata">

**Author:** [@IDickie](https://community.hubspot.com/u/IDickie)\
**Replies:** 4\
**Last updated:** [January 28, 2025, 6:48am UTC](https://community.hubspot.com/t/marketing-events-api-how-to-get-an-external-event-id-number/74237 "2025-01-28T06:48:10Z")

</div>

Hi. We’ve created a marketing event within Hubspot itself. It’s not connected to a third-party platform such as Eventbrite — we’re handling registrations etc ourselves. We also have a private app registered on Hubspot …

---

## [Custom Channels API - No option for HS\_OBJECT\_ID?](https://community.hubspot.com/t/custom-channels-api-no-option-for-hs-object-id/124798)

<div class="topic-metadata">

**Author:** [@RM456](https://community.hubspot.com/u/RM456)\
**Replies:** 2\
**Last updated:** [January 28, 2025, 5:27am UTC](https://community.hubspot.com/t/custom-channels-api-no-option-for-hs-object-id/124798 "2025-01-28T05:27:11Z")

</div>

Hi there, Using the Custom Channels API, is it possible to use the hs\_object\_id as the identifier? In the JSON request body, you set the property “deliveryIdentifierTypes” for the custom channel. This only seems to acc…

---

## [Website loading time negatively impacted by cookie banner](https://community.hubspot.com/t/website-loading-time-negatively-impacted-by-cookie-banner/104087)

<div class="topic-metadata">

**Author:** [@mxx](https://community.hubspot.com/u/mxx)\
**Replies:** 3\
**Last updated:** [January 28, 2025, 3:38am UTC](https://community.hubspot.com/t/website-loading-time-negatively-impacted-by-cookie-banner/104087 "2025-01-28T03:38:50Z")

</div>

Our HubSpot SEO report says that the following element makes our page significantly lower on multiple pages(up to 21 LCP): \<div id=“hs-eu-policy-wording”\> I don’t have a clue on how to fix this. I can imagine that it h…

---

## [blocking LinkedIn cookies using OneTrust cookie consent banner script](https://community.hubspot.com/t/blocking-linkedin-cookies-using-onetrust-cookie-consent-banner-script/80178)

<div class="topic-metadata">

**Author:** [@ICaceres](https://community.hubspot.com/u/ICaceres)\
**Replies:** 2\
**Last updated:** [January 28, 2025, 3:34am UTC](https://community.hubspot.com/t/blocking-linkedin-cookies-using-onetrust-cookie-consent-banner-script/80178 "2025-01-28T03:34:20Z")

</div>

how we can block LinkedIn cookies using the OneTrust cookie consent banner script? we now, have to use: \<script type=“text/plain” class=“optanon-category-C0002”\> //what is the code to block the LinkedIn cookie? \</scr…

---

## [HS Cookies banner reduce website performance](https://community.hubspot.com/t/hs-cookies-banner-reduce-website-performance/100885)

<div class="topic-metadata">

**Author:** [@dcr](https://community.hubspot.com/u/dcr)\
**Replies:** 4\
**Last updated:** [January 28, 2025, 3:28am UTC](https://community.hubspot.com/t/hs-cookies-banner-reduce-website-performance/100885 "2025-01-28T03:28:50Z")

</div>

Hello everyone, I encountered the issue that the cookies banner is reducing website performance greatly. It holds the initial render for 10s on mobile. I don’t know what I can do about it. This is the lighthouse report. …

---

## [Cookie banner on HubSpot site not showing](https://community.hubspot.com/t/cookie-banner-on-hubspot-site-not-showing/109401)

<div class="topic-metadata">

**Author:** [@CSandovalSer](https://community.hubspot.com/u/CSandovalSer)\
**Replies:** 5\
**Last updated:** [January 28, 2025, 3:26am UTC](https://community.hubspot.com/t/cookie-banner-on-hubspot-site-not-showing/109401 "2025-01-28T03:26:30Z")

</div>

Hello, We cannot figure out why, but our cookie banner is not showing up when visitors visit, so they are not able to opt in or out. The settings show it is turned on for all countries on our site, https://www.softeq.co…

---

## [How do you create/update a Listings object?](https://community.hubspot.com/t/how-do-you-create-update-a-listings-object/124876)

<div class="topic-metadata">

**Author:** [@MNg56](https://community.hubspot.com/u/MNg56)\
**Replies:** 1\
**Last updated:** [January 28, 2025, 12:16am UTC](https://community.hubspot.com/t/how-do-you-create-update-a-listings-object/124876 "2025-01-28T00:16:10Z")

</div>

Does anyone know how to search/create/update a Listings object via the API? I’m referencing the npm package - https://www.npmjs.com/package/@hubspot/api-client However there is no reference to the listings object itse…

---

## [Offering Affirm (via Stripe) as Payment Option?](https://community.hubspot.com/t/offering-affirm-via-stripe-as-payment-option/104740)

<div class="topic-metadata">

**Author:** [@CLee0](https://community.hubspot.com/u/CLee0)\
**Replies:** 3\
**Last updated:** [January 27, 2025, 8:44pm UTC](https://community.hubspot.com/t/offering-affirm-via-stripe-as-payment-option/104740 "2025-01-27T20:44:15Z")

</div>

How do I add Affirm as an payment method option? Its turned on and activated within my Stripe account, but I don’t see the ability to add Affirm as the option for payment, only ACH and Credit Card.

---

## [No Call ID matches with inbound call beta](https://community.hubspot.com/t/no-call-id-matches-with-inbound-call-beta/124640)

<div class="topic-metadata">

**Author:** [@JeroenCloudCTI](https://community.hubspot.com/u/JeroenCloudCTI)\
**Replies:** 3\
**Last updated:** [January 27, 2025, 5:18pm UTC](https://community.hubspot.com/t/no-call-id-matches-with-inbound-call-beta/124640 "2025-01-27T17:18:46Z")

</div>

Hi all, I’m trying out the incoming call beta and running into some issues while developing my own app. SDK message traffic to/from Hubspot works as expected, but on inbound call, my app doesn’t receive any contact matc…

---

## [How to Perform Conditional Validation with a Serverless Function Before Submitting a HubSpot Form?](https://community.hubspot.com/t/how-to-perform-conditional-validation-with-a-serverless-function-before-submitting-a-hubspot-form/124819)

<div class="topic-metadata">

**Author:** [@FBoholm](https://community.hubspot.com/u/FBoholm)\
**Replies:** 1\
**Last updated:** [January 27, 2025, 5:03pm UTC](https://community.hubspot.com/t/how-to-perform-conditional-validation-with-a-serverless-function-before-submitting-a-hubspot-form/124819 "2025-01-27T17:03:59Z")

</div>

Hello everyone! I have a website built on the HubSpot CMS where I’ve added a HubSpot form. I’d like to run a validation process when the user clicks the submit button, which then triggers a serverless function. Depending…

---

## [Easily changing theme colors](https://community.hubspot.com/t/easily-changing-theme-colors/124404)

<div class="topic-metadata">

**Author:** [@Kadranos](https://community.hubspot.com/u/Kadranos)\
**Replies:** 3\
**Last updated:** [January 27, 2025, 4:52pm UTC](https://community.hubspot.com/t/easily-changing-theme-colors/124404 "2025-01-27T16:52:35Z")

</div>

Hi there everyone, A client of ours has multiple color sets they want to utilize for different theme variations. I noticed in the Theme Editor that I can only select one color for each part (i.e. - red for the accent, y…

---

## ['associations' API search and action on objects Deal, Company, Contact](https://community.hubspot.com/t/associations-api-search-and-action-on-objects-deal-company-contact/124778)

<div class="topic-metadata">

**Author:** [@Marten](https://community.hubspot.com/u/Marten)\
**Replies:** 3\
**Last updated:** [January 27, 2025, 1:23pm UTC](https://community.hubspot.com/t/associations-api-search-and-action-on-objects-deal-company-contact/124778 "2025-01-27T13:23:18Z")

</div>

I am in need your help with a question related to associations API. How can I perform the following action: search for deals with associated Companies that have association label ‘lead-from-partner’ for those deals …

---

## [Auto submit Hubspot form automatically](https://community.hubspot.com/t/auto-submit-hubspot-form-automatically/12544)

<div class="topic-metadata">

**Author:** [@Bruno\_Teixeira](https://community.hubspot.com/u/Bruno_Teixeira)\
**Replies:** 6\
**Last updated:** [January 27, 2025, 12:26pm UTC](https://community.hubspot.com/t/auto-submit-hubspot-form-automatically/12544 "2025-01-27T12:26:43Z")

</div>

Hello, I have a Hubspot page embed on a page and I need to submit it automatically. All I need is to click on submit button automatically once I will already have the email pre-populated in my form. Can you tell how ca…

---

## [Missing Scopes For Webhook](https://community.hubspot.com/t/missing-scopes-for-webhook/124802)

<div class="topic-metadata">

**Author:** [@ASingh38](https://community.hubspot.com/u/ASingh38)\
**Replies:** 1\
**Last updated:** [January 27, 2025, 11:59am UTC](https://community.hubspot.com/t/missing-scopes-for-webhook/124802 "2025-01-27T11:59:35Z")

</div>

curl --location ‘https://api.hubapi.com/webhooks/v3/3593791/settings’ \\ --header ‘Authorization: Bearer token\_removed’ \\ --header ‘Cookie: \_\_cf\_bm=HL4\_K84\_1BC.nLkcvTSMCkY4n3ot\_\_Bd3J7AGwz3KcQ-1737964231-1.0.1.1-v.IuWgEy…

---

## [FQDN and Fixed IP on HubSpot Webhook](https://community.hubspot.com/t/fqdn-and-fixed-ip-on-hubspot-webhook/114096)

<div class="topic-metadata">

**Author:** [@Jdravet](https://community.hubspot.com/u/Jdravet)\
**Replies:** 4\
**Last updated:** [January 26, 2025, 4:52pm UTC](https://community.hubspot.com/t/fqdn-and-fixed-ip-on-hubspot-webhook/114096 "2025-01-26T16:52:52Z")

</div>

Hello, I’m trying to create a workflow that uses webhooks (or custom code to call an API). The particularity of this API is that it comes from my client. It is an internally developed service. Access security is very im…

---

## [Hubspot extend for CMS react?](https://community.hubspot.com/t/hubspot-extend-for-cms-react/124478)

<div class="topic-metadata">

**Author:** [@cyberwombat](https://community.hubspot.com/u/cyberwombat)\
**Replies:** 3\
**Last updated:** [January 25, 2025, 3:08pm UTC](https://community.hubspot.com/t/hubspot-extend-for-cms-react/124478 "2025-01-25T15:08:30Z")

</div>

I was attempting to deploy a CMS React/Serverless project like this cms-react/examples/serverless at main · HubSpot/cms-react · GitHub but it seems this requires Content Hub Enterprise. The error message says “Your HubSp…

---

## [Custom Calling App Not Visible to HubSpot within the Organization Paid Seat Users](https://community.hubspot.com/t/custom-calling-app-not-visible-to-hubspot-within-the-organization-paid-seat-users/124621)

<div class="topic-metadata">

**Author:** [@priyankadl](https://community.hubspot.com/u/priyankadl)\
**Replies:** 2\
**Last updated:** [January 25, 2025, 11:55am UTC](https://community.hubspot.com/t/custom-calling-app-not-visible-to-hubspot-within-the-organization-paid-seat-users/124621 "2025-01-25T11:55:32Z")

</div>

Issue: Custom Calling App Not Visible to HubSpot within the Organization Paid Seat Users Details and Steps Followed as per the reference Document: Created a HubSpot developer account. Developed a custom app within the…

---

## [OAuth flow for non super admin user](https://community.hubspot.com/t/oauth-flow-for-non-super-admin-user/124167)

<div class="topic-metadata">

**Author:** [@uaslam](https://community.hubspot.com/u/uaslam)\
**Replies:** 7\
**Last updated:** [January 24, 2025, 8:56pm UTC](https://community.hubspot.com/t/oauth-flow-for-non-super-admin-user/124167 "2025-01-24T20:56:54Z")

</div>

Hi, we’ve integrated HubSpot APIs with our web app, and users need to connect their HubSpot accounts using the OAuth flow. During the authorization flow, we are requesting the following scopes: \[ "crm.objects.companies.…

---

## [How do you handle a 409 Conflict error with database constraints?](https://community.hubspot.com/t/how-do-you-handle-a-409-conflict-error-with-database-constraints/124713)

<div class="topic-metadata">

**Author:** [@DSmith994](https://community.hubspot.com/u/DSmith994)\
**Replies:** 1\
**Last updated:** [January 24, 2025, 7:27pm UTC](https://community.hubspot.com/t/how-do-you-handle-a-409-conflict-error-with-database-constraints/124713 "2025-01-24T19:27:09Z")

</div>

Hi everyone, I’ve been running into a 409 Conflict error when working with database constraints, like unique key violations or duplicate entries. From what I understand, it happens when the request conflicts with the cu…

---

## [Association labels in Import API](https://community.hubspot.com/t/association-labels-in-import-api/79628)

<div class="topic-metadata">

**Author:** [@HunorSZ](https://community.hubspot.com/u/HunorSZ)\
**Replies:** 7\
**Last updated:** [January 24, 2025, 6:50pm UTC](https://community.hubspot.com/t/association-labels-in-import-api/79628 "2025-01-24T18:50:11Z")

</div>

Hello, community! I faced an issue a few days ago and haven’t managed to find a solution in the documentation or in the community. So I’ve decided to post it here along with the solution. The problem Using Import API …

---

## [Question about batch read API](https://community.hubspot.com/t/question-about-batch-read-api/124594)

<div class="topic-metadata">

**Author:** [@LZhao](https://community.hubspot.com/u/LZhao)\
**Replies:** 1\
**Last updated:** [January 24, 2025, 4:57pm UTC](https://community.hubspot.com/t/question-about-batch-read-api/124594 "2025-01-24T16:57:35Z")

</div>

Hi, I am using the /crm/v3/objects/$objType/batch/read POST API to detect deleted or merged objects on HubSpot, but I have a few questions about its behavior to ensure I use it correctly and avoid unintended deletions i…

---

## [How to read SSO token attribute out after sign-in in private page template?](https://community.hubspot.com/t/how-to-read-sso-token-attribute-out-after-sign-in-in-private-page-template/124652)

<div class="topic-metadata">

**Author:** [@iqoOopi](https://community.hubspot.com/u/iqoOopi)\
**Replies:** 2\
**Last updated:** [January 24, 2025, 4:29pm UTC](https://community.hubspot.com/t/how-to-read-sso-token-attribute-out-after-sign-in-in-private-page-template/124652 "2025-01-24T16:29:14Z")

</div>

Hi there, I have configured my private page content with SSO enabled via SAML. (Azure AD B2C), the SAML response will have email, givenname, surname per Azure SAML test page shown below: Now, in hubspot template for…

---

## [Refresh/attach page forms on pages loaded by AJAX](https://community.hubspot.com/t/refresh-attach-page-forms-on-pages-loaded-by-ajax/17989)

<div class="topic-metadata">

**Author:** [@Carl](https://community.hubspot.com/u/Carl)\
**Replies:** 7\
**Last updated:** [January 24, 2025, 12:14pm UTC](https://community.hubspot.com/t/refresh-attach-page-forms-on-pages-loaded-by-ajax/17989 "2025-01-24T12:14:03Z")

</div>

Hi, I’m currently integrating hubspot forms on a website that uses barbajs which is a common plugin to fetch the new pages with AJAX and replaces the content inside a wrapper, thus not needing to re-fetch header and foo…

---

## [3cx Integration has stopped working - need to find Client\_ID](https://community.hubspot.com/t/3cx-integration-has-stopped-working-need-to-find-client-id/124589)

<div class="topic-metadata">

**Author:** [@JAtkinson](https://community.hubspot.com/u/JAtkinson)\
**Replies:** 3\
**Last updated:** [January 24, 2025, 10:33am UTC](https://community.hubspot.com/t/3cx-integration-has-stopped-working-need-to-find-client-id/124589 "2025-01-24T10:33:27Z")

</div>

3 years ago I created a private app as per the instructions at https://www.3cx.com/docs/hubspot-pbx-crm-integration/ but we recently noticed it was not working. When I try to authorize from 3CX, I get "An invalid app cl…

---

## [Information](https://community.hubspot.com/t/information/124606)

<div class="topic-metadata">

**Author:** [@KFeher](https://community.hubspot.com/u/KFeher)\
**Replies:** 2\
**Last updated:** [January 24, 2025, 9:31am UTC](https://community.hubspot.com/t/information/124606 "2025-01-24T09:31:38Z")

</div>

How can we purchase, download, modify, install, etc. HubSpot CMS templates? How do updates work? What should we pay attention to? How can we create a demo account that I can send to the client? How do redirects work? Ho…

[Previous page](https://community.hubspot.com/c/develop-build-integrate/58.md?page=128)

[Next page](https://community.hubspot.com/c/develop-build-integrate/58.md?page=130)
