Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BasicMechanics. Некорректный формат ошибки при некорректном токене #24

Open
Ceparator opened this issue Oct 21, 2018 · 0 comments
Assignees
Labels
bug Something isn't working server Feature about server

Comments

@Ceparator
Copy link

Ceparator commented Oct 21, 2018

Отправить запрос к сервису, причем у пользователя:

  1. просроченный токен
  2. токен без обязательных данных в payload data
  3. токен не преобразовывается в json формат

ОР:
структура ответа

{
    errors: [
        {
            "attr":"<Параметр запроса>",
            "code":"<Код ошибки>"
        }
    ]
}

ФР:
Структура ответа

{
    "error": "<Параметр запроса>",
    "error_description": "<Код ошибки>"
}
@Ceparator Ceparator added bug Something isn't working development labels Oct 21, 2018
@Ceparator Ceparator added server Feature about server and removed development labels Oct 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server Feature about server
Projects
None yet
Development

No branches or pull requests

2 participants