The SDK changed shape and my parser didn't (Fairino FR10)

NathanBrown0895 · 24 May 2026, 19:25 UTC

Reply to discussion
NA
NathanBrown0895
Our dashboard for diagnostic status retrieval on Fairino FR10 expected a status value from the old SDK. The replacement environment returns a container with extra information, and our screen now shows a plausible status even when a request fails. This is in a bench integration setup, with a fixture block as a reference. I'm trying to fix how we interpret the answer.

6 replies

HA
HazelChan1093
Replying to NathanBrown0895

Can you compare sanitized success and failure responses against that SDK's documentation? The useful detail is which field your wrapper treats as status.

21 points
NA
NathanBrown0895
Replying to HazelChan1093

@HazelChan1093 I'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.

2 points
HA
HazelChan1093
Replying to NathanBrown0895

Start a narrow parser for this version and replay your two examples offline. Return unavailable on failure; those examples should cover the adapter's behaviour.

22 points
LI
LinBaker0444
Replying to HazelChan1093

That covers this bug. What about a transport exception or missing field? Neither has to look like your saved error.

17 points
HA
HazelChan1093
Replying to LinBaker0444

Fair point. Those two are a regression case, not full coverage. The adapter also needs documented error cases, transport exceptions and malformed responses exercised.

18 points
NA
NathanBrown0895
Replying to HazelChan1093

@HazelChan1093 Can our screen just say unavailable, but retain the reason?

7 points

Add 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.

Forgot your password?

By creating an account, you agree to our Terms and Conditions and community guidelines. Read our Privacy Policy for how your information is handled.