From 2eba2182ed5381dac869fe8cc76121511b3ecd61 Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Fri, 19 Sep 2025 12:48:36 +0100 Subject: [PATCH] Make 429 errcode be M_LIMIT_EXCEEDED --- proposals/4108-oidc-qr-login.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proposals/4108-oidc-qr-login.md b/proposals/4108-oidc-qr-login.md index 3cf632719..2584528cf 100644 --- a/proposals/4108-oidc-qr-login.md +++ b/proposals/4108-oidc-qr-login.md @@ -173,7 +173,7 @@ HTTP response codes, and Matrix error codes: - `404 Not Found` (`M_NOT_FOUND`) - rendezvous session ID is not valid (it could have expired) - `409 Conflict` (`M_CONCURRENT_WRITE`, a new error code) - when the `sequence_token` does not match - `413 Payload Too Large` (`M_TOO_LARGE`) - the supplied payload is too large -- `429 Too Many Requests` (`M_UNKNOWN`) - the request has been rate limited +- `429 Too Many Requests` (`M_LIMIT_EXCEEDED`) - the request has been rate limited The response body for `200 OK` is `application/json` with contents: @@ -198,7 +198,7 @@ HTTP response codes, and Matrix error codes: - `200 OK` - payload returned - `404 Not Found` (`M_NOT_FOUND`) - rendezvous session ID is not valid (it could have expired) -- `429 Too Many Requests` (`M_UNKNOWN`) - the request has been rate limited +- `429 Too Many Requests` (`M_LIMIT_EXCEEDED`) - the request has been rate limited Response body for `200 OK` is `application/json` with contents: @@ -228,7 +228,7 @@ HTTP response codes: - `200 OK` - rendezvous session cancelled - `404 Not Found` (`M_NOT_FOUND`) - rendezvous session ID is not valid (it could have expired) -- `429 Too Many Requests` (`M_UNKNOWN`) - the request has been rate limited +- `429 Too Many Requests` (`M_LIMIT_EXCEEDED`) - the request has been rate limited ##### Authentication