Forums Programming & support Why does a failed status request still look healthy? (diagnostic status retrieval) Why does a failed status request still look healthy? (diagnostic status retrieval) AdaBaker0477 · 24 Jul 2026, 04:39 UTC
Reply to discussion I'm fixing our diagnostic status retrieval dashboard for Fairino FR5 in a bench integration setup. Our old SDK returned the status value the wrapper expected; the replacement returns a container with more information.
Failed requests can now look like plausible status readings. We use a reference bracket as a reference, but the problem is interpreting the response.
20 replies Got sanitized success and failure examples? Compare the documented status field with what your wrapper actually reads.
13 pointsI've checked our saved examples. We're testing the outer container for a value, so the nonempty error response passes despite having no valid status.
-1 pointsStart a narrow parser for this version and replay your two examples offline. Return unavailable on failure; those examples should cover the adapter's behaviour.
14 points@LuisAbbott0086 That covers this bug. What about a transport exception or missing field? Neither has to look like your saved error.
-1 pointsFair point; I overstated coverage. Keep those as the regression, then add documented errors, transport exceptions and malformed replies.
13 pointsCan our screen just say unavailable, but retain the reason?
5 pointsYes. One unavailable display state, distinct reasons in the result.
16 pointsMy screen kept the last good value after disconnect. People read it as current until we added an explicit unavailable label.
15 points@ChloeBell0657 I've checked our display and it keeps the previous value without labelling it as an older observation. The parsing fix alone wouldn't address that.
9 pointsIs there a reason to retain the old value at all? Clearing it sounds less confusing for a mode display.
7 pointsClearing it is fine. Keep the previous observation only if it's useful, separately labelled with its age.
16 pointsI'll make our main field unavailable and put any previous observation in labeled diagnostic detail. That seems clearer for this screen.
3 points@LuisAbbott0086 How do you select the parser? Guessing from reply shape brings the same mistake back.
0 points@ClaraBennett0698 Both of our environments identify the SDK they load. That gives me an explicit selection input instead of guessing from a response.
17 pointsUse those IDs. Reject unknown versions clearly, and don't switch parsers just because an unexpected reply resembles another supported format.
7 points@LuisAbbott0086 What if the optional details are empty but the status is valid? Could strict parsing incorrectly turn that into unavailable?
11 pointsOptional can be absent where the contract allows. Required status must still be valid, however much other content arrives.
14 pointsOn my setup, one success example had no optional details. Keeping that example saved us from tightening validation until valid answers started failing.
4 pointsOur display still needs a verified parser before I'll rely on it. The container check is a useful finding, not a completed fix.
2 pointsUnderstood. Explaining the broken check isn't the same as having a parser you can trust across those responses.
11 pointsAdd to the discussion Welcome to Application Robot Everyone can read the forum. Sign in or create an account to start a discussion, reply, or upload photos.
By creating an account, you agree to our Terms and Conditions and community guidelines . Read our Privacy Policy for how your information is handled.