ranking-agent / robokop-ara

0 stars 1 forks source link

500 error on numerous queries #29

Open maximusunc opened 3 years ago

maximusunc commented 3 years ago

UI: https://qgraph.org/answer/Xod8eeJ3

Error: Error in response with code 500: {"detail":"Failed synonymizing node ids: {\"detail\":\"Not Found\"}"}

maximusunc commented 3 years ago

Update: Asking a query with no ids gives the same error:

curl -X 'POST' \
  'https://robokop.renci.org/ara/query' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "message": {
    "query_graph": {
      "nodes": {
        "n0": {
          "categories": [
            "biolink:Disease"
          ]
        },
        "n1": {
          "categories": [
            "biolink:ChemicalSubstance"
          ]
        }
      },
      "edges": {
        "e0": {
          "subject": "n0",
          "object": "n1",
          "predicates": [
            "biolink:related_to"
          ]
        }
      }
    }
  }
}'