最近搜索
没有最近搜索

Roberto Fasciolo
已加入2024年5月30日
·
最后活动2024年5月30日
关注
0
关注者
0
活动总数
1
投票
0
订阅
0
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Roberto Fasciolo
Roberto Fasciolo 创建了一个帖子,
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
Comment