diff --git a/src/client.ts b/src/client.ts index f39bbf718..6a7735b51 100644 --- a/src/client.ts +++ b/src/client.ts @@ -9423,10 +9423,10 @@ export class MatrixClient extends TypedEventEmittererr).httpStatus === 400 || // This the correct standard status code for an unsupported - // endpoint according to MSC3743. + // endpoint according to MSC3743. Not Found and Method Not Allowed + // both indicate that this endpoint+verb combination is + // not supported. (err).httpStatus === 404 || - // This the correct standard status code for an invalid - // method according to MSC3743. (err).httpStatus === 405) ) { return await this.http.authedRequest(Method.Get, path, queryParams, undefined, {