簡體   English   中英

使用 hubspot 搜索時不斷收到“請求有問題” api

[英]Keep getting "There was a problem with the request" when using hubspot search api

我正在搜索聯系人,我不斷收到以下回復

{
    "status": "error",
    "message": "There was a problem with the request.",
    "correlationId": "32073a19-9272-4955-a756-e3b6a4671738"
}

關聯 ID 不斷變化。

這種類型的錯誤響應無助於確定出了什么問題。

我只是做一個簡單的搜索請求

curl --location --request POST 'https://api.hubapi.com/crm/v3/objects/contacts/search?hapikey=MY_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
  "filterGroups": [
    {
      "filters": [
        {
          "value": "Spam (Auto Deletes Contact)",
          "propertyName": "Contact Type",
          "operator": "EQ"
        }
      ]
    }
  ],
  "limit": 10,
  "after": 0
}'

我在哪里可以撥打 go 尋求幫助?

問題是我試圖找到的屬性的名稱。

在 API 呼叫中使用時,“Contact Type”(如 HubSpot 網站所示)實際上是“contact_type”。

**如果錯誤消息說的是“未知屬性”之類的內容,這將有助於診斷我的錯誤 **

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM