最近の検索


最近の検索はありません

Roberto Fasciolo's Avatar

Roberto Fasciolo

参加日2024年5月30日

·

前回のアクティビティ2024年5月30日

フォロー中

0

フォロワー

0

合計アクティビティ

1

投票

0

受信登録

0

アクティビティの概要

さんの最近のアクティビティ Roberto Fasciolo

Roberto Fascioloさんが投稿を作成しました:

投稿 Developer - Platform (Sunshine)

Hello,

 

As part of the development of our product I need to query existing integrations from a Sunshine Conversations app. The answer that we get from the server does not match the API specifications, this is the response (with values redacted):

{
  "integrations": [
    {
      "_id": "***",
      "status": "active",
      "type": "whatsapp",
      "displayName": "Whatsapp",
      "brandId": "***",
      "accountId": "***",
      "businessManagerId": "***",
      "appId": "***",
      "phoneNumber": "***",
      "phoneNumberId": "***"
    }
  ],
  "hasMore": false,
  "offset": 0
}

But the OpenAPI specification requires a deploymentId field to be present there. The lack of it causes the python client library to fail with ValueError: Invalid value for `deployment_id`, must not be `None`

 

It looks to me that either the OpenAPI spec is wrong or the server doesn't implement it correctly. Regardless, how can I get the client library to work with that call?

編集日時:2024年5月30日 · Roberto Fasciolo

0

フォロワー

2

投票

1

コメント