Webhook on quotes deployment fail

LDekester
参加者

Hi,

I am trying to set up a new app with a webhook on quotes with these configuration:
app-hsmeta.json:

{
  "uid": "myApp_app",
  "type": "app",
  "config": {
    "description": "My custom app",
    "name": "myApp-Application",
    "distribution": "private",
    "auth": {
      "type": "static",
      "requiredScopes": [
        "oauth",
        "crm.objects.companies.read",
        "crm.objects.deals.read",
"crm.objects.quotes.read",
"crm.objects.line_items.read"
      ],
      "optionalScopes": [],
      "conditionallyRequiredScopes": []
    },
    "permittedUrls": {
      "fetch": [
      ],
      "iframe": [],
      "img": []
    },
  }
}
and webhooks-hsmeta.json:
{
  "uid": "myApp_webhooks",
  "type": "webhooks",
  "config": {
    "settings": {
      "targetUrl": "my-url",
      "maxConcurrentRequests": 10
    },
    "subscriptions": {
      "crmObjects": [
        {
          "subscriptionType": "object.propertyChange",
          "objectType": "quote",
          "propertyName": "hs_sign_status",
          "active": false
        }
      ]
    }
  }
}

When I use the command "hs project update" the build works but the deployment of the webhook fails with this error:
[ERROR] An internal error occurred while upserting webhooks settings. Try again later. If the problem persists, contact HubSpot support.

Any ideas on why I am getting this error?


0 いいね!
3件の返信 3
JTolley
投稿者 | Gold Partner
投稿者 | Gold Partner

This looks good to me - one thing is that if I spin up a generic private app with webhooks and look for the "hs_sign_status" I can't actually find it.
Are we sure this exists and that it is a property that can be hooked into?
Considering it's a hs property it would be weird for it to exist on your portal and not my test one?

JTolley_0-1769155898266.png

 




0 いいね!
LDekester
参加者

Hi @JTolley,

Thanks for the reply.
You are right, that property name didn't exist. I update with "hs_status" which I made sure exists:

LDekester_0-1769159574344.png


I update the webhook json:

LDekester_1-1769159608400.png

But I still get the same error.

Are all properties of an object available for a webhook? If not how can we know which ones we can use?

Thanks

0 いいね!
Victor_Becerra
コミュニティーマネージャー

Hey @LDekester 

Thank you for your post! We'll tag a few community members to help us out

Hello there @JTolley @Humashankar @MichaelMa could you share your insights here?

Thank you so much!

Victor


loop Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.
Learn More

0 いいね!