You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错指名 recordId undefined,而调用方传的是 id ⇒ 报错本身没说"你把名字写错了",调用方只看到"缺了个它以为已经给了的字段",容易反复重试同一形态。
id 是这类接口最自然的猜测;本仓其它读写路径也多以 id 指代记录主键。
建议(低风险、非阻断):update_record(以及同族的 get_record / delete_record,若同样命名)接受 id 作为 recordId 的别名;或在参数校验失败时,若检测到调用方传了 id 而缺 recordId,在报文里点出这一点。
⚠ 另一个形状,单独记,⛔ 不与上面混为一谈
take v3 里失败的调用是三个参数全部 undefined:
Invalid input: expected string, received undefined at objectName
Invalid input: expected string, received undefined at recordId
Invalid input: expected record, received undefined at data
Activity