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

profile endpoint shows 400 error response when service returned 200 #2030

Closed
darrelmiller opened this issue Aug 11, 2022 · 2 comments · Fixed by #2053
Closed

profile endpoint shows 400 error response when service returned 200 #2030

darrelmiller opened this issue Aug 11, 2022 · 2 comments · Fixed by #2053
Assignees
Labels
type:bug Something isn't working
Milestone

Comments

@darrelmiller
Copy link
Contributor

Describe the bug
Graph Explorer appears to be parsing the response body to decide what status code to show. It should show the status code returned.

To Reproduce
Make this request in Graph Explorer with the devTools open.

GET https://graph.microsoft.com/beta/me/profile

You will see the response in the network tab is a 200.

Expected behavior
The response should be a 200 with the JSON payload describing the problem the server ran into.

@ghost ghost added the ToTriage label Aug 11, 2022
@adhiambovivian
Copy link

@darrelmiller shouldn't Graph return a 500 given that there was some kind of server error?
image

@MaryannGitonga
Copy link
Contributor

MaryannGitonga commented Aug 17, 2022

Endpoint has been fixed.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants