nylas-python icon indicating copy to clipboard operation
nylas-python copied to clipboard

NylasOAuthError `status_code` is filled into `request_id`

Open sambuysse opened this issue 6 months ago • 0 comments

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

sambuysse avatar Aug 27 '24 12:08 sambuysse