I’m encountering an issue with a Custom Schema update while using the HubSpot PHP SDK (v10). I’ve been successfully using this functionality for years, but today it suddenly stopped working, and I’m now receiving a 404 error related to an unrecognised scope.
{ "status": "error", "message": "cobject-edit-all-1 is not a valid scope" }
At random intervals, I’ve also seen a similar 404 error with the following message:
{ "status": "error", "message": "cobject-edit-team-owned-1 is not a valid scope" }
I’m struggling to identify what these scopes (cobject-edit-all-1 and cobject-edit-team-owned-1) are or how to resolve the issue. I’ve reviewed the available scopes in HubSpot’s documentation but haven’t found anything that matches.
Here are the scopes currently applied:
crm.schemas.custom.read
crm.objects.custom.read
crm.objects.custom.write
crm.schemas.custom.write
Has anyone encountered this issue before or can shed light on what these error messages mean? Any guidance on how to resolve this would be greatly appreciated!
Thanks for sharing the additional information. I've been able to replicate the issue you're experiencing and agree there seems to be an issue with this endpoint.
I've tried multiple different approaches, but it seems even the simplest call to update an existing custom object's schema is resulting in an error similar to that described by @Graham-OUB. Thanks 🙌
All the best,
Zach
--
Zach Klein HubSpot Integrations & App Developer Meanjin / Brisbane, Australia
Hey, @zach_threadint👋 Thanks for the tag. I'll get this added to my tasks. I'll update here or post any additional requests I get. — Jaycee
Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success. Don't miss this opportunity to connect and grow—reserve your spot today!
Did you know that the Community is available in other languages? Join regional conversations by changing your language settings !