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

How to report the errors from API? #857

Closed
nikithauc opened this issue Nov 18, 2021 · 1 comment
Closed

How to report the errors from API? #857

nikithauc opened this issue Nov 18, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@nikithauc
Copy link
Contributor

When a post request mentioned in #841 failed due to the bad request error from the Graph API, an undefined object was returned. I had to debug to find the cause of failure.
The errors should be thrown to allow preferable user management.

I came across this in TypeScript. Not sure if this is an issue in other languages.

@nikithauc nikithauc added the enhancement New feature or request label Nov 18, 2021
@baywet
Copy link
Member

baywet commented Nov 18, 2021

Hey @nikithauc, thanks for reaching out on that.
This is currently an "incomplete feature" that needs work in the OpenAPI spec + OpenAPI.net + Kiota + the http libraries across all languages.
We're tracking it in #411, don't hesitate to jump there and add comments on design solutions etc...
I'm going to close this one "as duplicate" if you don't mind.

@baywet baywet closed this as completed Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants