Page 1 of 1

BadEncodingLimitsExceeded.

Posted: 21 May 2019, 14:41
by fulcrum24
I get the "BadEncodingLimitsExceeded" message in UaExpert if I want to read the attributes of an input argument of my method. What kind of encoding limits are in this case exactly? What could be the solution? Any idea?

Re: BadEncodingLimitsExceeded.

Posted: 08 Jan 2020, 18:45
by Support Team
Hello,

the length of the data is probably to big. The encoder on client side but also on server side has limitation in length. There are much more limitations, e.g. max string len, max array size, max message size, etc. which are negothiated between client and server during connection establishment. The encoding limit is typically a fixed limit of an (embedded) server, because it needs memory for buffering the data.

Solution is: you must limit the parameters of your method to fit to the max encoding limits of the particular server.