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

Invalid JSON response to POST /user/queries #2199

Closed
heralden opened this issue Feb 5, 2020 · 0 comments
Closed

Invalid JSON response to POST /user/queries #2199

heralden opened this issue Feb 5, 2020 · 0 comments

Comments

@heralden
Copy link
Member

heralden commented Feb 5, 2020

The POST /user/queries endpoint for saving queries to a user's profile, returns an invalid JSON response, visible when the format parameter is set to json.

http://iodocs.apps.intermine.org/flymine/docs#/ws-saved-queries/POST/user/queries

Here's an example response:

{"queries":{
"unnamed_query":"unnamed_query_3"
},,"executionTime":"2020.02.05 09:59::54","wasSuccessful":true,"error":null,"statusCode":200}

There are two commas after the queries object, which causes an error when parsing the response.

@danielabutano danielabutano self-assigned this Feb 14, 2020
danielabutano pushed a commit to danielabutano/intermine that referenced this issue Feb 14, 2020
@danielabutano danielabutano added this to the InterMine 4.2.0 milestone May 6, 2020
@danielabutano danielabutano added this to InterMine 4.2.0 (Spring 2020) in Roadmap & release planning May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants