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

Assure all API errors are returned in json format #1022

Closed
3 tasks
LefterisJP opened this issue Sep 14, 2017 · 0 comments
Closed
3 tasks

Assure all API errors are returned in json format #1022

LefterisJP opened this issue Sep 14, 2017 · 0 comments
Assignees

Comments

@LefterisJP
Copy link
Contributor

LefterisJP commented Sep 14, 2017

Problem Definition

At the moment all error descriptions in the API are provided in plain text as part of the RPC response. That is sometimes not what a user would expect as can be seen from #1020

Solution

Make sure that all unsucesfull api responses contain an errors key.

Tasklist

  • Assure all errors are returned in a json object
  • Update documentation of the API to reflect the change
  • Add a changelog entry.
@LefterisJP LefterisJP added this to the Next minor release milestone Sep 14, 2017
@LefterisJP LefterisJP self-assigned this Sep 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant