Hi all,
We hit what looks like an undocumented limit on the number of redirectUrls an app can have on the developer platform. We’d like to confirm it and learn whether it can be raised.
Setup
- Developer projects (new platform), with the app defined in
app/app-hsmeta.json auth.type:oauth,distribution:marketplace- Deployed with
hs project upload
What happens
-
With 20
redirectUrls, the build and deploy succeed. -
With 21
redirectUrls, the build succeeds but the deploy fails with only this message:There was a problem creating or updating the app. Please reach out to the app developer, or contact HubSpot support.
-
The CLI debug log has no further detail. The upload is accepted and the build is created, so the failure happens at the deploy step.
What we checked
- All URLs are HTTPS and unique.
- The app configuration reference says only that
redirectUrlsneeds at least one entry. It states no maximum. - We couldn’t find a documented limit in the OAuth docs, the legacy public apps docs, or the community.
Questions
- Is there a maximum number of redirect URLs per app? If so, is it 20, and can it be documented?
- Can the deploy return a specific validation error instead of the generic “problem creating or updating the app” message?
- Is there a way to raise the limit for marketplace apps that serve multiple regions or instances? If not, is there a recommended alternative, such as a single redirect endpoint that routes by
state?
Thanks!