Krukov / amocrm_api

Python amocrm API wrapper
MIT License
104 stars 55 forks source link

Use hint text instead of title error #52

Closed kfcaio closed 3 years ago

kfcaio commented 3 years ago

Hint tends to be more descriptive than error's title. For example:

{'hint': 'Authorization code has expired', 'title': 'Некорректный запрос', 'type': 'https://developers.amocrm.ru/v3/errors/OAuthProblemJson', 'status': 400, 'detail': 'В запросе отсутствует ряд параметров или параметры невалидны'}
Krukov commented 3 years ago

thanks, make sense