MyChat Integration API error: MCIAPI_Error_ParameterIsEmpty, a parameter can't be empty
Error
47, MCIAPI_Error_ParameterIsEmpty
Description
A query parameter can't be an empty string; it must contain some data.
JSON object
{
"cmd" : "0001",
"evocator" : "XXXX",
"error" : 47,
"Param" : "UserName",
"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 |
command of the error HEX "0001"; |
evocator |
string |
HEX code of the sent command that caused the error; |
error |
integer |
error number; |
Param |
string |
parameter name in the initial query; |
context |
string |
any text sent to the server in a query command; |
error_desc_XX |
string |
links to the Help page. |
Problem solution
An initial query parameter must contain data, because an empty string is not acceptable. Read the documentation about the command you use and fix the parameter text.