docs-matrix-spec/locales/zh-Hans/rooms/fragments/v6-canonical-json.md
2025-04-20 16:13:37 +08:00

1 line
No EOL
347 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

服务器必须严格执行 [附录](/appendices#canonical-json) 中规定的 JSON 格式。这意味着在大多数端点会返回 400 `M_BAD_JSON` 错误或者在联邦通信中丢弃事件。例如Federation API 的 `/send` 端点会丢弃该事件,而 Client Server API 的 `/send/{eventType}` 端点则会返回 `M_BAD_JSON` 错误。