Skip to content

Page size error in /brapi/v2/search/calls #162

Description

@a-caballero-r

Hi team,

While using the API /brapi/v2/search/calls, sometimes we get a 500 error message. We are using the callSetDbIds filter and have tried with varying pageSize values on different resultsets. Unfortunately, there is no indication on what pageSize fails under which resultset.

We have tried on resulttsets < 10000 and with pageSize set on 100000 and 10000 it fails.

Another scenario is on a resultset of 150 calls, using pagination of 100 the first page works, but when fetching the second page, it gives a 500 error.

POST {GIGWA_SERVER}/gigwa/rest/brapi/v2/search/calls

{ "callSetDbIds":["ids"], "pageSize":100, "page":0 }

Result

"metadata": { "pagination": { "pageSize": 100, "totalCount": 150, "totalPages": 2, "currentPage": 0 } }

When fetching the second page

{ "callSetDbIds":["ids"], "pageSize":100, "page":1 }

Result
500 Internal Server Error

This is also related to the issue described here
https://github.com/SouthGreenPlatform/Gigwa2/issues/116

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions