APIs & Integrations

JDeWitt87
メンバー

Unable to add scope of "behavioral_events.event_definitions.read_write"

解決

When I try to add "behavioral_events.event_definitions.read_write" scope to my "requiredScopes" within my React UI Extension code and then run hs project upload. It returns this message:

Unable to find the auto deploy for build #46. This deploy may have been skipped. View all deploys for this project in HubSpot: https://app.hubspot.com/developer-projects/HubIDhere/project/InsideForms/activity.

But I do not see any details at that URL. How can I add this scope so I can add/manage Custom Event definitions via your API?

0 いいね!
1件の承認済みベストアンサー
JDeWitt87
解決策
メンバー

Unable to add scope of "behavioral_events.event_definitions.read_write"

解決

So I figured out what the issue was, So I updated the "name" property within my public-app.json file from "InsideForms" to "Inside Forms" changing the name appears to have been the issue that was preventing the React UI Extension app from deploying. As soon as I reverted the app name back to what it was originally it Deployed without any issues.

Just some feedback on this it would be ideal to provide some feedback in the error logs as to why the app failed to delpoy, as I had to figure this out through trial and error, as the deploy logs had no errors besides the generic message "Unable to find the auto-deploy for build #46. This deploy may have been skipped".

元の投稿で解決策を見る

0 いいね!
5件の返信
GiantFocal
トップ投稿者 | Gold Partner
トップ投稿者 | Gold Partner

Unable to add scope of "behavioral_events.event_definitions.read_write"

解決

Hi @JDeWitt87,

 

The error message you received suggests the deployment did not complete as expected, which may be unrelated to the scope itself. Here are a few steps you can try:

 

  1. Ensure the scope you want to add is enabled in your HubSpot developer account. Verify that the required scope is allowed for that app.
  2. The error message “Unable to find the auto-deploy for build #46. This deploy may have been skipped" suggests an issue with auto-deployment.
    1. Confirm that your build process is correctly configured.
    2. Make sure the hs CLI has the proper authentication tokens and is connected to your HubSpot developer account.
    3. Also, ensure the build folder is uploaded correctly with the hs project upload command.
  3. Since scopes can change over time, check the latest HubSpot Scopes Documentation and verify that the behavioral_events.event_definitions.read_write scope is currently supported.
  4. If the deployment logs are missing at the provided URL, try re-running the hs project upload command to trigger a new deployment. Check your account permissions to view deployment activity. If problems continue, consider contacting HubSpot Developer Support for assistance.
  5. Lastly, review the OAuth configuration of your app to ensure the generated tokens include all required scopes during authorization.
Glad I could help.
Solving HubSpot puzzles is what we do.
Ernesto // GiantFocal


Found this answer helpful?
Marking it as the solution helps both the community and me - thanks in advance!
0 いいね!
BérangèreL
コミュニティーマネージャー
コミュニティーマネージャー

Unable to add scope of "behavioral_events.event_definitions.read_write"

解決

Hi @JDeWitt87, just checking in on you 🤗

Did you try the steps provided by @GiantFocal? Did these help?

If you still need us to look at it, can you please give us detailed information regarding where exactly you are stuck?

The more info, screenshots (without sensitive/confidential information), and details you can provide, the better the Community can assist.


Thanks and have a great day!
Bérangère





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 いいね!
JDeWitt87
解決策
メンバー

Unable to add scope of "behavioral_events.event_definitions.read_write"

解決

So I figured out what the issue was, So I updated the "name" property within my public-app.json file from "InsideForms" to "Inside Forms" changing the name appears to have been the issue that was preventing the React UI Extension app from deploying. As soon as I reverted the app name back to what it was originally it Deployed without any issues.

Just some feedback on this it would be ideal to provide some feedback in the error logs as to why the app failed to delpoy, as I had to figure this out through trial and error, as the deploy logs had no errors besides the generic message "Unable to find the auto-deploy for build #46. This deploy may have been skipped".

0 いいね!
BérangèreL
コミュニティーマネージャー
コミュニティーマネージャー

Unable to add scope of "behavioral_events.event_definitions.read_write"

解決

Hi @JDeWitt87, I hope that you are well!

Thanks so much for sharing what worked for you, it will be helpful for many other Community Members! ❤️

Have a lovely day and looking forward to seeing you around the Community! 🌞

Bérangère, Community Manager





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 いいね!
BérangèreL
コミュニティーマネージャー
コミュニティーマネージャー

Unable to add scope of "behavioral_events.event_definitions.read_write"

解決

Hi @JDeWitt87 and Happy Wednesday!

Thanks for reaching out to the HubSpot Community!

Just for reference, here is the documentation about scopes that might be of interest to you.

I'd love to check with our Top Experts and Community Members: Hi @MrJustinGivens@Mike_1@sylvain_tirreau and @Anton do you have any insights to share, to help @JDeWitt87, please?

Have a wonderful day and thank you very much for all your valuable contributions! ❤️
Bérangère





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 いいね!