neurobagel / query-tool

User interface for searching across Neurobagel graph
https://query.neurobagel.org/
MIT License
2 stars 1 forks source link

[BUG] querying a node API directly fails #138

Closed surchs closed 4 months ago

surchs commented 4 months ago

Is there an existing issue for this?

Expected Behavior

expect it should succeed

Current Behavior

The request arrives at the API and the API responds, but the query tool crashes once it retrieves the response

Error message

Unexpected Application Error!
Cannot read properties of undefined (reading 'sort')
TypeError: Cannot read properties of undefined (reading 'sort')
    at oj (http://localhost:3000/assets/index-ZYyfRoec.js:202:5051)
    at gh (http://localhost:3000/assets/index-ZYyfRoec.js:38:19519)
    at Xf (http://localhost:3000/assets/index-ZYyfRoec.js:40:3139)
    at ax (http://localhost:3000/assets/index-ZYyfRoec.js:40:44804)
    at rx (http://localhost:3000/assets/index-ZYyfRoec.js:40:39766)
    at mE (http://localhost:3000/assets/index-ZYyfRoec.js:40:39694)
    at $u (http://localhost:3000/assets/index-ZYyfRoec.js:40:39547)
    at ap (http://localhost:3000/assets/index-ZYyfRoec.js:40:35914)
    at ex (http://localhost:3000/assets/index-ZYyfRoec.js:40:34865)
    at k (http://localhost:3000/assets/index-ZYyfRoec.js:25:1565)

Environment

How to reproduce

No response

Anything else?

No response

surchs commented 4 months ago

:rocket: Issue was released in v0.2.2 :rocket:

surchs commented 4 months ago

:rocket: Issue was released in v0.2.2 :rocket:

surchs commented 4 months ago

:rocket: Issue was released in v0.2.2 :rocket: