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

Callback response misleading #2192

Closed
arranHarty123 opened this issue Aug 3, 2019 · 2 comments · Fixed by #2193
Closed

Callback response misleading #2192

arranHarty123 opened this issue Aug 3, 2019 · 2 comments · Fixed by #2193
Assignees
Milestone

Comments

@arranHarty123
Copy link

[2019-Aug-03 13:49:04.666131]: Callback to address:port failed with status: Created

Potentially as 201 returned

@cryptocode cryptocode self-assigned this Aug 3, 2019
@cryptocode
Copy link
Contributor

cryptocode commented Aug 3, 2019

Thanks for the report. To give more context from Discord: this is a mongodb microservice endpoint returning 201, probably along with a Location header entry for the document id. 201 should not be logged as an error (in fact, no 2xx code should)

@arranHarty123
Copy link
Author

Yep. Looks like its 201 for created (see https://restheart.org/try.html)

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

Successfully merging a pull request may close this issue.

2 participants