MyChat Integration API error: MCIAPI_Error_NetworkError
Error
1, MCIAPI_Error_NetworkError
Description
An error occurred during data transfer attempt.
JSON object
{
"cmd" : "0001",
"evocator" : "XXXX",
"error" : 1,
"сontext" : "myfunc",
"ErrNum" : 2,
"Msg" : "10060 Connection Timed Out",
"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; |
ErrNum |
integer |
2 — network error; 3 — unknown network error; 4 — error of receiving response data from the server; 5 — outdated server version; |
Msg |
string |
network error text explanation. |
error_desc_XX |
string |
links to the Help page. |
*evocator means the trigger.
Problem solution
As a rule, if all parameters are specified correctly, the IntegrationAPI key is correct, IntegrationAPI enabled, and your IP address is not filtered, then the reason can be in firewalls and antiviruses.