cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
758
Views
0
Helpful
0
Replies

I am getting invalid definition for message field of type: Cilent_id_tag

vsalliswell2019
Level 1
Level 1

I am trying to send a OPEN_REQ and I am getting the following error. Not sure what I am missing. I have been breaking my head for weeks. Any help is much appreciated.

 

 

"\u0001\0\0\0\0\0\0\u0003\a?com.cisco.Ged188.CRACTIInvalidMessageException: readMsg: Handled InvalidObjectException: Invalid definition for message of type: OPEN_REQ; nested exception is: invalid definition for message field of type: CLIENT_ID_TAG; nested exception is: length less \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"

 

 

I am sending the following client tag:

byte[] clidtag = BitConverter.GetBytes(Covert.ToUInt16(1));
byte[] clidfieldlength = BitConverter.GetBytes(Convert.ToUInt16(ClientIdData.Length));
byte[] cliddata = ASCIIEncoding.ASCII.GetBytes(FloatingFields.ClientIdData);

where ClientIdData is

string ClientIdData = string.Empty;

ClientIdData = "admin"+char.MinValue;

0 Replies 0