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