mi2yo4
(mitsuyoshi)
1
Using this template helps us debug your issues more effectively
Description
send my data:
{‘name’: ‘sample’, ‘type’: 4, ‘members’: [{‘email’: ‘mailaddress’}]}
Error
reply:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result><code>300</code><message>Validation Failed.</message><errors><field>type</field><message>Invalid field.</message></errors></result>
Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth
Which Endpoint/s?
https://marketplace.zoom.us/docs/api-reference/zoom-api/chat-channels/createchannel
POST /chat/users/me/channels
Works with other types (2)
Regards,
Mitsuyoshi
will.zoom
(Will)
2
Hi @mi2yo4,
Are you running into an error when making this request? Can you share more details?
Thanks!
Will
mi2yo4
(mitsuyoshi)
3
POST /chat/users/me/channels
postdata = {‘name’: ‘sample’, ‘type’: 4, ‘members’: [{‘email’: <user’s mailaddress>}]}
Server returns status_code ‘400’.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
300
Validation Failed.typeInvalid field.
postdata = {‘name’: ‘sample’, ‘type’: 2, ‘members’: [{‘email’: <user’s mailaddress>}]}
Server returns status_code ‘200’.
Hi @mi2yo4,
Thank you for sharing these details!
It looks like you’re able to create a private channel OK but are running into an issue with creating an instant chat (type 4)—right?
Can you confirm if your OAuth app is a user level or account level app? And are you using admin scopes?
Thanks,
Will
system
(system)
Closed
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.