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

Error is not returned when working with async/await or promise #336

Open
TristanDELMAS opened this issue Sep 21, 2023 · 1 comment
Open
Assignees

Comments

@TristanDELMAS
Copy link

When the request is not accepted by docusign, the only returned thing is a bad request message with no information.

To fix it, ApiClient.js should be reject({...error, data }); on line 592 (if no callback and if error of callApi.

The same is true for sendJWTTokenRequest on line 109 that should be reject({ ...err, data });

@sonawane-sanket sonawane-sanket self-assigned this Jun 4, 2024
@sonawane-sanket
Copy link
Contributor

@TristanDELMAS
We improved API responses (success & error formats) across all APIs. Upgrade to the latest SDK 7.0.1 for this benefit.
Let us know if the issue persists after upgrading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants