I'm fixing our controller availability reporting dashboard for Universal Robots UR5e in a maintenance area comparing software environments. 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 an inspection coupon as a reference, but the problem is interpreting the response.
@LeahBrooks0843 Found it. We're checking whether the outer container is nonempty. Our error response passes without containing a valid status. Brilliant.
Two examples establish the reported bug, but they don't cover an adapter. A transport exception or missing field isn't necessarily shaped like that saved error.
@OmarArcher0404 Use those IDs. Reject unknown versions clearly, and don't switch parsers just because an unexpected reply resembles another supported format.
@LeahBrooks0843 Those will be separate cases in my replay. The old nonempty check flattened both questions into one boolean, which explains quite a lot.
I've got an answer to the design question: parse the documented status for the identified SDK and keep failures unavailable. I'll call the display fix complete only when our offline examples show that behaviour on screen.