nylas-python
nylas-python copied to clipboard
NylasOAuthError `status_code` is filled into `request_id`
Describe the bug
Wrong positional arguments passed to the constructor of the AbstractNylasApiError
.
https://github.com/nylas/nylas-python/blob/7bba2ba375da645f2048497658a3618bff560f5b/nylas/models/errors.py#L137
https://github.com/nylas/nylas-python/blob/7bba2ba375da645f2048497658a3618bff560f5b/nylas/models/errors.py#L7-L21
To Reproduce Not necessary as it's clear from the linked code.
Expected behavior
status_code
contains the actual status code.
SDK Version: v6.3.0