APIs & Integrations

krishna7
Member

This hapikey xxxx does not have proper permissions! (requires all of [developers-read])

SOLVE

Hi Team,

I have created a dev/testing account(7947600) based on my company's CRM account. My work involves creating custom actions and custom triggers in workflows.

 

When I am trying to access Workflow Extensions API (https://api.hubapi.com/automationextensions/v1/definitions?hapikey=<<hapikey>>&applicationId=<<app ID>>)

I got this error :

{
    "status""error",
    "message""This hapikey (XXXXXX) does not have proper permissions! (requires all of [developers-read])",
    "correlationId""70069045-0493-4019-b2ce-c1c71c144a72"
}

 

Please help me with this as this is a blocker for my deadline.

 

Thanks

0 Upvotes
2 Accepted solutions
Derek_Gervais
Solution
HubSpot Alumni
HubSpot Alumni

This hapikey xxxx does not have proper permissions! (requires all of [developers-read])

SOLVE

Hey @krishna7 ,

 

That error generally means that you're using the wrong hapikey for a particular call. Workflow Extension definitions live in your developer portal, which means that any request needs to include the hapikey from your developer portal. It sounds like instead you're using the hapikey from your test account. Can you try it again using your developer hapikey? You can find that by following the instructions here: https://legacydocs.hubspot.com/docs/faq/developer-api-keys

View solution in original post

0 Upvotes
krishna7
Solution
Member

This hapikey xxxx does not have proper permissions! (requires all of [developers-read])

SOLVE

Hi Derek, 

 

I have resolved the error by folowing the below document and now I can see my new workflow extension definitions in the actions section.

https://legacydocs.hubspot.com/docs/faq/installing-an-app

 

Thanks,

Krishna

View solution in original post

3 Replies 3
Derek_Gervais
Solution
HubSpot Alumni
HubSpot Alumni

This hapikey xxxx does not have proper permissions! (requires all of [developers-read])

SOLVE

Hey @krishna7 ,

 

That error generally means that you're using the wrong hapikey for a particular call. Workflow Extension definitions live in your developer portal, which means that any request needs to include the hapikey from your developer portal. It sounds like instead you're using the hapikey from your test account. Can you try it again using your developer hapikey? You can find that by following the instructions here: https://legacydocs.hubspot.com/docs/faq/developer-api-keys

0 Upvotes
krishna7
Member

This hapikey xxxx does not have proper permissions! (requires all of [developers-read])

SOLVE

Hi Derek,

 

Thanks for the info. When I am using the API key, I got the following error.

{
    "errors": [
        {
            "errorType""EXTENSION_NAME_ALREADY_EXISTS",
            "metadata": {
                "duplicateId": [
                    "1615"
                ]
            }
        }
    ],
    "success"false
}
So, I was checking my new extension name: Create New Appointment under actions while creating workflows. I cannot see any section for workflows in my dev account but I could see workflows section in test account (didn't find new extension in test acnt too)
 
Please let me know, where can I find new Workflow Extension Definition under actions, so that it will be helpfull for me to create new custom actions that I need.
 
Thanks,
Krishna
0 Upvotes
krishna7
Solution
Member

This hapikey xxxx does not have proper permissions! (requires all of [developers-read])

SOLVE

Hi Derek, 

 

I have resolved the error by folowing the below document and now I can see my new workflow extension definitions in the actions section.

https://legacydocs.hubspot.com/docs/faq/installing-an-app

 

Thanks,

Krishna