From a11286a5091c0e8ac279265f8295ad819c336379 Mon Sep 17 00:00:00 2001 From: Tom Foster Date: Mon, 13 Jan 2025 19:43:21 +0000 Subject: [PATCH] Add `M_MISSING_PARAM` error --- proposals/4133-extended-profiles.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/proposals/4133-extended-profiles.md b/proposals/4133-extended-profiles.md index 8a4794fceb..3228bfb19c 100644 --- a/proposals/4133-extended-profiles.md +++ b/proposals/4133-extended-profiles.md @@ -193,6 +193,15 @@ demonstrates the process of defining new fields in the `m.*` namespace. } ``` +- **`M_MISSING_PARAM`**: Required parameter is missing, e.g. if a client attempts to set a profile field, but neglects to include that named field in the request body. + +```json +{ + "errcode": "M_MISSING_PARAM", + "error": "A required parameter is missing: {parameter_name}." +} +``` + - **`M_PROFILE_TOO_LARGE`**: Exceeds total profile size limits. ```json