Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen

Roberto Fasciolo
Beigetreten 30. Mai 2024
·
Letzte Aktivität 30. Mai 2024
Folge ich
0
Follower
0
Gesamtaktivitäten
1
Stimmen
0
Abonnements
0
AKTIVITÄTSÜBERSICHT
BADGES
BEITRÄGE
POSTS
COMMUNITY-KOMMENTARE
BEITRAGSKOMMENTARE
AKTIVITÄTSÜBERSICHT
Neueste Aktivität von Roberto Fasciolo
Roberto Fasciolo hat einen Post erstellt
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?
Bearbeitet 30. Mai 2024 · Roberto Fasciolo
0
Follower
2
Stimmen
1
Kommentar