Unverified50% confidenceSolutionExact time
The most reliable way to fix the 400 error is to append the complete assistant message object (e.g., messages.append(resp.choices[0].message) in Python) rather than manually assembling a copy.
1
Sources
50%
Confidence
Long-term
Relevance
10/19/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedThe Python servers' tool error text format is unified as 'Error executing tool <name>: <message>', and argument validation errors now use pydantic wording but still return isError results.72% similarUnverifiedEach Python server now declares prompts and resources capabilities (listChanged: false), with fetch's fetch prompt being the only entry.64% similarUnverifiedThe author benchmarked by injecting over 5,000 synthetic mutation faults into real Python codebases.59% similarUnverifiedIn Python's bytes.decode(encoding, errors=...), strict raises UnicodeDecodeError on byte sequences that cannot be mapped; replace substitutes bad bytes with U+FFFD and continues; ignore simply discards bad bytes.58% similarUnverifiedIn the Python servers, the error code for an unknown tool changed from an isError result to a JSON-RPC -32602 error (Unknown tool: <name>), in both protocol eras.58% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1067659API
curl https://kongchang.com/api/v1/knowledge/claims/1067659MCP
get_claim(id=1067659)