简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

SDK request fails, dashboard carries on looking perfectly happy

ClaraBennett0698 · 2026年7月8日 18:57 UTC

回复讨论
CL
ClaraBennett0698
Changed the FR5 SDK environment. Read-only training dashboard now gets a container instead of the old value. A failed request still produces a believable status on screen. Splendid. Where would you put the validity check?

4 条回复

DA
DavidBarnes0606

At the point where you interpret the SDK reply, before it reaches the display, because the screen shouldn't have to guess whether a number came from a successful request

16
CL
ClaraBennett0698

Found a fallback taking the first numeric field. Removed that. Failure is now unavailable, rather than whatever innocent-looking number happened to be there.

16
DA
DavidBarnes0606

Keep the last valid reading separate too, so someone can see an old value without mistaking it for a fresh one

9
OM
OmarArcher0404

Did you try a reply with a missing field as well as an explicit failure? That's the case I'd want before handing the screen over.

12

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。