# Public APP development

**URL:** <https://community.hubspot.com/t/public-app-development/129965>\
**Category:** APIs & Integrations\
**Created:** [April 15, 2025, 5:18pm UTC](https://community.hubspot.com/t/public-app-development/129965 "2025-04-15T17:18:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arahman\_11](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@arahman\_11](https://community.hubspot.com/u/arahman_11)\
**Post date:** [April 15, 2025, 5:18pm UTC](https://community.hubspot.com/t/public-app-development/129965/1 "2025-04-15T17:18:11Z")

</div>

Hi everyone,

I’m currently developing a public HubSpot app that, upon installation, creates several custom fields in the Companies module and adds a button labeled Enrich. When a user clicks this button, it should fetch data from a third-party API (based on the company domain) and populate those custom fields with the response.

I’ve already built a significant portion of the functionality, but since I’m still fairly new to HubSpot development, I’m looking for some guidance to fully complete and refine the app.

At the moment, when I press the Enrich button, I encounter what seems to be a CORS or Content Security Policy (CSP) error. I’m having trouble identifying the root cause.

Here’s a screenshot of the error:[HS-Erros.png](https://workdrive.zohoexternal.com/file/uinmg89aa8ba6712a4affb3dc329c662b9424)

If anyone has experience with this or can help me understand what’s going wrong, I’d really appreciate your support.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [April 15, 2025, 6:08pm UTC](https://community.hubspot.com/t/public-app-development/129965/2 "2025-04-15T18:08:12Z")

</div>

Hey, [@arahman\_11](https://community.hubspot.com/t5/user/viewprofilepage/user-id/930096) 👋 Welcome to our community! I’m moving this over to the dev side of things so we can get you more targeted views. — Jaycee
