4-9 - Parsing Failed

4-9 - Parsing Failed

Possible Causes

Generally, it is due to parameter values not conforming to the rules, resulting in errors during conversion. For example:

String timeoutString = httpMetadata.headers().getFirst(TripleHeaderEnum.SERVICE_TIMEOUT.getHeader());
Long timeout = Long.parseLong(timeoutString);

Long timeout = GrpcUtils.parseTimeoutToMills(timeoutString);
invocation.put(CommonConstants.TIMEOUT_KEY, timeout);

Troubleshooting and Resolution Steps

Modify the corresponding configuration according to the key name indicated in the stack information to meet the conversion rules.

Last modified September 30, 2024: Translate (22d3d83a3b)