BadEncodingLimitsExceeded.
Moderator: uaexpert
-
- Jr. Member
- Posts: 1
- Joined: 21 May 2019, 14:27
BadEncodingLimitsExceeded.
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?
- Support Team
- Hero Member
- Posts: 3072
- Joined: 18 Mar 2011, 15:09
Re: BadEncodingLimitsExceeded.
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.
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
Unified Automation Support Team