BadEncodingLimitsExceeded.

Questions regarding the use of the UaExpert.

Moderator: uaexpert

Post Reply
fulcrum24
Jr. Member
Jr. Member
Posts: 1
Joined: 21 May 2019, 14:27

BadEncodingLimitsExceeded.

Post 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?

User avatar
Support Team
Hero Member
Hero Member
Posts: 2532
Joined: 18 Mar 2011, 15:09

Re: BadEncodingLimitsExceeded.

Post 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.
Best regards
Unified Automation Support Team

Post Reply