MyChat Integration API error: MCIAPI_Error_WrongData
Error
21, MCIAPI_Error_WrongData
Description
Incorrect data package ignored by the server.
JSON object
{
"cmd" : "0001",
"evocator" : "XXXX",
"error" : 21,
"context" : "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
Read documentation and create a data package for sending in a right way.