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

marketstat/json does not always return valid JSON #24

Open
Ionaru opened this issue Apr 21, 2017 · 0 comments
Open

marketstat/json does not always return valid JSON #24

Ionaru opened this issue Apr 21, 2017 · 0 comments

Comments

@Ionaru
Copy link

Ionaru commented Apr 21, 2017

The marketstat API endpoint in JSON format does not always return valid JSON, for instance when an invalid typeid is given.

https://api.eve-central.com/api/marketstat/json?typeid=123456 for example returns "A non-marketable type was given, or some other error occurred.". This return can not be parsed as JSON, and will break code that expects to return to be always JSON.

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