401 - Authentication credentials not found - which permissions needed for webhook?

Hi,
Building my own app in Hubspot to connect with a custum connector in Power Automate, using Oauth. Works fine!

Now I’m registering for a webhook from PA to Hubspot, setting up goes fine. Webhook is triggered, but then getting a error:

Header: “x-hubspot-auth-failure”: “401 Unauthorized”,

Body: {
“status”: “error”,
“message”: “Authentication credentials not found. This API supports both API Key and OAuth 2.0 authentication and you can find more details at Accounts Dashboard | HubSpot”,
“correlationId”: “xxx”,
“category”: “INVALID_AUTHENTICATION”
}
Is there any special permission/authorization required for the usage of the webhooks?

Hi, @RDoorn :waving_hand: Thanks for reaching out. Can you post an example of what your request looks like? It’s not possible to give a definitive answer, but in other posts with the same error, a common culprit was sending the authorization in the URL.

Best,

Jaycee

Hi @Jaycee_Lewis , thanks. This is a sample
Method = put

{
“Authorization”: “Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJS…”
}

{
“throttling”: {
“period”: “SECONDLY”,
“maxConcurrentRequests”: 10
}
}
TargetURL is added dynamicaly.