MyChat Integration API error: MCIAPI_Error_UnknownUID

MyChat Integration API error: MCIAPI_Error_UnknownUID

Error

6, MCIAPI_Error_UnknownUID

 

Description

A text conference with a specified UID number does not exist or such a conference created before but there is no people in it right now, and it was deleted from MyChat Server online structure. As soon as someone connects to it, the conference will be created again with the same UID number.

 

JSON object

{
  "cmd"      : "0001",
  "evocator" : "XXXX",
  "error"    : 6,
  "UID"      : 19
}

Parameter

Type

Value

cmd

string

error command HEX "0001";";

evocator

string

HEX code of the command sent on the server that caused the problem;

error

integer

error number;

UID

integer

ID of the non-existing text conference;

 

Problem solution

Check if the conference with the same UID exists on the server. Though unique identifiers do not repeat, message sending is possible only in those conferences that have at least one online user or built-in bot UIN=0.