Hey, I'm trying to create a custom object via API in a dev portal we've created so we can experiment a little, we already created this object in our active production environmnet. We get the following (this is the truncated version) error:
The scope needed for this API call isn't available for public use. If you have questions, contact support or post in our developer forum."
The issue was resolved by re-enabling the "trial" for the sandbox portal.
So to re-iterate - make sure the test portal is opened from an enterprise dev account, and that the 90 day trial is re-enabled. Custom objects can now be freely created.
The issue was resolved by re-enabling the "trial" for the sandbox portal.
So to re-iterate - make sure the test portal is opened from an enterprise dev account, and that the 90 day trial is re-enabled. Custom objects can now be freely created.
After doing some further testing in a few different portals it seems, that it is failing with that error when the portal does not have an enterprise subscrption. I didn't realize last week, becuase the test portal that I tested it in had just expired. Doing it in a new test portal with enterprsise scope allievated the issue. @YBarOr, can you confrim that you do have an enterprise subscription on the portal? And, @dennisedson, I do not asee a screengrab in your post.
✔️ Was I able to help answer your question? Help the community by marking it as a solution.
I loked into this endpoint, and it looks like there is an issue on HubSpots side currently, I coppied the exact requests from the documentation, but I recieved the same error. I can only assume that the issue is with HubSpot here. I'll go ahead and ping some people from HubSpot, to get some internal eyes on this. @dennisedson@sharonlicari
✔️ Was I able to help answer your question? Help the community by marking it as a solution.