Public APP development

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

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

Thanks in advance!

Hey, @arahman_11 :waving_hand: Welcome to our community! I’m moving this over to the dev side of things so we can get you more targeted views. — Jaycee