glygener / glygen-issues

Repository for public GlyGen tickets
GNU General Public License v3.0
0 stars 0 forks source link

Pagination page api fails with 500 error for some glycosylation tables. #1903

Open sujeetvkulkarni opened 1 week ago

sujeetvkulkarni commented 1 week ago

API: https://api.tst.glygen.org/pagination/page/

with below payloads,

{
  "record_type": "protein",
  "table_id": "glycosylation_predicted",
  "record_id": "P02766-1",
  "offset": 1,
  "limit": 20,
  "order": "desc",
  "sort": "hit_score",
  "filters": [
    {
      "id": "by_glycosylation_type",
      "operator": "OR",
      "selected": [
        "n-linked|other"
      ]
    }
  ]
}
{
  "record_type": "protein",
  "table_id": "glycosylation_automatic_literature_mining",
  "record_id": "P12931-1",
  "offset": 1,
  "limit": 20,
  "order": "desc",
  "sort": "hit_score",
  "filters": [
    {
      "id": "by_glycosylation_type",
      "operator": "OR",
      "selected": [
        "o-linked|other"
      ]
    }
  ]
}

Screenshot 2024-11-18 at 11 53 40 AM