Integration failed

Hi,

I’ve create an app with NodeJS to extand CRM cards with my dev account and I tested it on a test app account. When I tried to push it on a prod account, anything happend. So I tried to delete my integration and to install it again on the test account and that failed again.

However when I use the url of install, it redirect me correctly to the view of selecting tenant, I can pick an account and then I’m correctly redirecting to my redirect URL.

I have the same problem when I try to create the same app from scratch.

May I forget something ?

Hey, @NHuon :waving_hand: Thanks for reaching out. It will be difficult to say without more details. Can you link the installation URL here, so the community can try to reproduce the issue?

Thank you! — Jaycee

This is the following link to install the APP: https://app-eu1.hubspot.com/oauth/authorize?client_id=553739c2-d140-4270-b550-5a3fe4e784d0&redirect_uri=https://app.hubspot.com/&scope=crm.objects.deals.read%20crm.objects.deals.write
I would like to give more details but I don’t have any error, just my integration don’t work.

I didn’t use the redirect URL correctly, now it’s ok my app is again in my settings.

Hi @NHuon, glad you spotted the redirect URL issue. A couple of small gotchas often block installs when moving from a test app to prod.

First, confirm the redirect URL matches exactly what you registered in the app, including protocol, trailing slash, and region. If your auth screen lives on app-eu1 during consent, your install URL should also use app-eu1 and the registered redirect must be identical to what you send at authorize and token time (OAuth Quickstart Guide - HubSpot docs )

Next, double-check you are installing the correct app type and scopes for CRM cards. UI Extensions and app cards require a public app or a project-built private app with the card configured and published to the target account.

After install, go to Settings > Account Setup > Integrations > Connected Apps in the chosen portal and confirm the app is listed, then open a record and verify the card is enabled in the right sidebar customization. The current reference for app cards and UI extension setup is here if you want to compare structure and permissions (Accounts Dashboard | HubSpot )

One quick question to close the loop: are you installing the same app ID in both the test and prod portals, or did you recreate a second app with a different client ID and forget to update the redirect and scopes in your NodeJS env? Where native connectors stop short, Stacksync fills the gap with real-time, bidirectional sync so your workflows and reports stay trustworthy.