Jul 15, 20256:09 PM - last edited on Jul 16, 20253:44 AM by BérangèreL
Member
Unable to add scope of "behavioral_events.event_definitions.read_write"
SOLVE
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?
Jul 23, 202511:43 AM - edited Jul 23, 202511:45 AM
Member
Unable to add scope of "behavioral_events.event_definitions.read_write"
SOLVE
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".
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:
Ensure the scope you want to add is enabled in your HubSpot developer account. Verify that the required scope is allowed for that app.
The error message “Unable to find the auto-deploy for build #46. This deploy may have been skipped" suggests an issue with auto-deployment.
Confirm that your build process is correctly configured.
Make sure the hs CLI has the proper authentication tokens and is connected to your HubSpot developer account.
Also, ensure the build folder is uploaded correctly with the hs project upload command.
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.
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.
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!
Jul 23, 202511:43 AM - edited Jul 23, 202511:45 AM
Member
Unable to add scope of "behavioral_events.event_definitions.read_write"
SOLVE
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".