From 8431201442355e97b2f94fcf89eb4dc3f2290e96 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 23 May 2023 12:03:39 +0300 Subject: [PATCH] Change error in example flow --- content/application-service-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/application-service-api.md b/content/application-service-api.md index df480d37..10a7d9c5 100644 --- a/content/application-service-api.md +++ b/content/application-service-api.md @@ -236,8 +236,8 @@ AS <--- HS : 200 OK {"duration_ms": 123} ``` AS ---> HS : /_matrix/client/v1/appservice/{appserviceId}/ping {"transaction_id": "meow"} HS ---> AS : /_matrix/app/v1/ping {"transaction_id": "meow"} - HS <--- AS : 401 Unauthorized {"errcode": "M_UNKNOWN_TOKEN"} -AS <--- HS : 502 Bad Gateway {"errcode": "M_BAD_STATUS", "status": 401, "body": "{\"errcode\": \"M_UNKNOWN_TOKEN\"}"} + HS <--- AS : 403 Forbidden {"errcode": "M_FORBIDDEN"} +AS <--- HS : 502 Bad Gateway {"errcode": "M_BAD_STATUS", "status": 403, "body": "{\"errcode\": \"M_FORBIDDEN\"}"} ``` **Can't connect to appservice**