MyChat Integration API error: MCIAPI_Error_UserNotInChannel
Error
7, MCIAPI_Error_UserNotInChannel
Description
A user sender does not exist in a specified text conference.
JSON object
{
"cmd" : "0001",
"evocator" : "XXXX",
"сontext" : "myfunc",
"error" : 7,
"User" : "24",
"UID" : 19,
"error_desc_ru" : "https://nsoft-s.com/...",
"error_desc_en" : "https://nsoft-s.com/...",
"error_desc_ua" : "https://nsoft-s.com/..."
}
Parameter |
Type |
Value |
cmd |
string |
error command HEX "0001"; |
evocator |
string |
HEX code of the command sent on the server that caused the problem; |
context |
string |
any text sent to the server in a query command; |
error |
integer |
error number; |
User |
string |
UIN, email, nickname of a user from the request; |
UID |
integer |
text conference ID; |
error_desc_XX |
string |
links to the Help page. |
Problem solution
Check if a specified user is in the conference when sending a message.