We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Dec 14, 2016 8:52 AM
I am creating an app which requires integration with HubDB. The doc at http://designers.hubspot.com/docs/tools/hubdb mentions that we can use POST and PUT requests with HubDB API so I assume it is possible to use API to create/update tables in HubDB. But when I try to do so, I got the following error:
This oauth-token (snipped) does not have proper permissions! (requires all of [hubdb-access])
This scope is not listed in the OAuth documentation. I tried to authorize this scope with following URL:
But I got the following error and couldn’t finish authorization:
Uh oh!
An invalid scope name was provided. Please contact the integrator.
Is there anything I missed? What should I do to access the HubDB API? Thanks.
Dec 21, 2016 7:20 PM
@pmanca Thanks for confirming this! Waiting for the fix eagerly.
Dec 22, 2016 8:43 AM
@SAPikachu Where as I don’t have a timeline on the fix I have signed up for email notifications on this so i can track the results. Will post back when there are changes.
Dec 29, 2016 3:04 PM
@SAPikachu We have created a new hubdb
scope to use for your OAUTH connection to the hubdb tables. Simply change your call from …scope=content… -> …scope=hubdb… Thanks for your patience!
Dec 29, 2016 7:25 PM
@pmanca Will try it later. Thanks very much!
Dec 21, 2016 2:04 PM
@SAPikachu I have confirmed this is the case at the moment. An internal case has been made to fix the scope on the Oauth2 authorization.
Dec 21, 2016 8:39 AM
I just found that I can create table via HubDB APIs using hapikey
parameter, so it appears that HubDB write access is only available to API key at this moment, but not OAuth authorization. Can anyone confirm this?
Dec 21, 2016 1:42 PM
@SAPikachu I will reach out internally and see if I can confirm it.