MyChat Integration API error: MCIAPI_Error_ParameterAbsent
Error
10, MCIAPI_Error_ParameterAbsent
Description
Missed parameter in a query.
JSON Object
{
"cmd" : "0001",
"evocator" : "XXXX",
"error" : 12,
"сontext" : "myfunc",
"Param" : "name",
"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; |
Param |
string |
name of the parameter that is missing in the initial query; |
error_desc_XX |
string |
links to the Help page. |
Problem solution
Check if your initial query is correct by using documentation. Notice, letter case in the names of JSON parameters matter. ("Type" and "type" are various parameters).