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

JSON::ParserError: when attempting to cancel an order #9

Open
fhur opened this issue Apr 26, 2014 · 0 comments
Open

JSON::ParserError: when attempting to cancel an order #9

fhur opened this issue Apr 26, 2014 · 0 comments
Assignees
Labels

Comments

@fhur
Copy link
Collaborator

fhur commented Apr 26, 2014

Give that the API returns a boolean value when canceling an order,
it is not valid JSON so it should not be parsed. Calling api.cancel_order(order_id)
yields:

JSON::ParserError: 757: unexpected token at 'true'

@fhur fhur self-assigned this Apr 26, 2014
@fhur fhur added bug and removed bug labels Apr 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant