You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is a check in the agora-chat.js that is as follows
function d(e3) {
if (!e3 || !e3.data)
throw Error("Invalid parameter");
when option is sent it populates e3 but not e3.data despite the parameters being correct, hence the parameters need to be sent as
conn.createGroup({ data: options });
there is a check in the agora-chat.js that is as follows
function d(e3) {
if (!e3 || !e3.data)
throw Error("Invalid parameter");
when option is sent it populates e3 but not e3.data despite the parameters being correct, hence the parameters need to be sent as
conn.createGroup({ data: options });
Additional Information
No response
The text was updated successfully, but these errors were encountered:
@atovpeko no I think removing e3.data from the if condition should work. In the documentation they dont send the option via data, there is nothing under e3 called data so e3.data not existing is causing the issue.
Platform
Web
Platform details
No response
Product
Chat
Product details
No response
Business Case
Cuts down time in exploring what is causing the issue
Subject Matter Expert
No response
Documentation Link
https://docs.agora.io/en/agora-chat/client-api/chat-group/manage-chat-groups?platform=web#create-and-destroy-a-chat-group
Scope
the create chat group document must be updated
conn.createGroup(option).then((res) => console.log(res));
there is a check in the agora-chat.js that is as follows
when option is sent it populates e3 but not e3.data despite the parameters being correct, hence the parameters need to be sent as
conn.createGroup({ data: options });
Acceptance Criteria
conn.createGroup(option).then((res) => console.log(res));
there is a check in the agora-chat.js that is as follows
function d(e3) {
if (!e3 || !e3.data)
throw Error("Invalid parameter");
when option is sent it populates e3 but not e3.data despite the parameters being correct, hence the parameters need to be sent as
conn.createGroup({ data: options });
Additional Information
No response
The text was updated successfully, but these errors were encountered: