MyChat Integration API error: MCIAPI_Error_EmptyMessage
Error
4, MCIAPI_Error_EmptyMessage
Description
Sent message can't be empty.
JSON object
{
"cmd" : "0001",
"evocator" : "XXXX",
"error" : 4,
"сontext" : "myfunc",
"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; |
error |
integer |
error number. |
context |
string |
any text sent to the server in a query command; |
error_desc_XX |
string |
links to the Help page. |
Problem solution
A message you send must contain text. A message can't contain spaces and line breaks only.