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

Generic error status codes #145

Closed
StevenLeRoux opened this issue Jan 12, 2017 · 8 comments
Closed

Generic error status codes #145

StevenLeRoux opened this issue Jan 12, 2017 · 8 comments

Comments

@StevenLeRoux
Copy link
Contributor

Many errors have the same return code :

  • Exceeded MADS
  • Invalid Token
  • Exec Limit raised
  • Exceeded DDP

It would be nice to have a fine grained error status codes so that we can better catch the source of the issue.

@hbs
Copy link
Collaborator

hbs commented Jan 12, 2017

We don't have the notion of error 'code', we simply have error messages. All the errors you mention have different messages.

@hbs
Copy link
Collaborator

hbs commented Jan 12, 2017

Do you mean you would like to have an additional notion of error 'code' returned as an HTTP header which could differentiate some specific errors?

@StevenLeRoux
Copy link
Contributor Author

Yes, It could be either an HTTP header or a json payload (or even simple plain text...)

Some HTTP status codes could be affected to common errors :

206 Partial Content // parsing error, some data points accepted, but not the whole dataset
429 Too Many Requests . // MADS & DDP exceeded
498 Invalid Token // ...
499 Token Required // ...
...

@d33d33
Copy link
Contributor

d33d33 commented Apr 7, 2017

Any news?

@d33d33
Copy link
Contributor

d33d33 commented Apr 19, 2017

Ping

@StevenLeRoux
Copy link
Contributor Author

Error codes formatting have recently changed, breaking parsing and putting this subject back on table.

@miton18
Copy link
Contributor

miton18 commented Oct 13, 2017

Since Warp10 use an HTTP API it should be great to use it at 100%
:-)

@hbs
Copy link
Collaborator

hbs commented Oct 13, 2017

What do you mean?

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

4 participants