From 2687638488e9a9a653e0a8a55e93d5bfbeb853d8 Mon Sep 17 00:00:00 2001 From: Nikita Basharov Date: Fri, 10 Sep 2021 11:33:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B0=D1=81=D1=88=D0=B8=D1=80=D0=B8?= =?UTF-8?q?=D0=BB=D0=B8=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D1=83=20=D0=BE?= =?UTF-8?q?=D1=82=D0=B2=D0=B5=D1=82=D0=B0=20=D0=BF=D1=80=D0=B8=20=D0=BD?= =?UTF-8?q?=D0=B5=D0=B2=D0=B5=D1=80=D0=BD=D0=BE=D0=B9=20=D0=B0=D0=B2=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/errors.md | 2 ++ docs_eng/errors.md | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/errors.md b/docs/errors.md index a14352eb..3b64e21c 100644 --- a/docs/errors.md +++ b/docs/errors.md @@ -208,6 +208,8 @@ HTTP code | type | value | описание 403 | oauth | token_expired | время жизни access_token завершилось, необходимо [выполнить обновление access_token](authorization.md#refresh_token) 403 | oauth | token_revoked | токен отозван пользователем, приложению необходимо [запросить новую авторизацию](authorization.md) 403 | oauth | application_not_found | ваше приложение было удалено +403 | oauth | application_auth_expected | метод работает только с [авторизацией приложения](authorization_for_application.md) +403 | oauth | user_auth_expected | метод работает только с [авторизацией пользователя](authorization_for_user.md) diff --git a/docs_eng/errors.md b/docs_eng/errors.md index 131f181d..0ba2c458 100644 --- a/docs_eng/errors.md +++ b/docs_eng/errors.md @@ -195,10 +195,12 @@ api and your authorization is not valid for any reason, an error with `type` | HTTP code | type | value | description | |-----------|-------|-------------------------|--------------| -| 403 | oauth | bad_authorization | authorization token doesn't exist or is not valid | -| 403 | oauth | token_expired | access_token validity period has expired, it is necessary to [refresh the access_token](authorization.md#refresh_token) authorization.md#refresh_token | -| 403 | oauth | token_revoked | the token is revoked by the user, the application should [request a new authorization](authorization.md) | -| 403 | oauth | application_not_found | your application has been deleted +| 403 | oauth | bad_authorization | authorization token doesn't exist or is not valid | +| 403 | oauth | token_expired | access_token validity period has expired, it is necessary to [refresh the access_token](authorization.md#refresh_token) authorization.md#refresh_token | +| 403 | oauth | token_revoked | the token is revoked by the user, the application should [request a new authorization](authorization.md) | +| 403 | oauth | application_not_found | your application has been deleted +| 403 | oauth | application_auth_expected | method requires [application authorisation](authorization_for_application.md) +| 403 | oauth | user_auth_expected | method requires [user authorisation](authorization_for_application.md) ### Errors when accessing a paid method