Passing unexpected response_headers to __init()__
glmn opened this issue · comments
Stanislav Gelman commented
Error in exceptions.py after PR #77
TypeError: __init__() got an unexpected keyword argument 'response_headers'
This error triggers in every APIError exceptions except RateLimitError due to passing response_headers
to __init__()
You can reproduce it even with invalid API Key. It will crash with first error instead of raising an UnauthorizedError