Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Problem with GitLab API pagination in Power BI - Limited response size

Hello everyone,

 

I am facing a problem with the integration of the GitLab API in Power BI. I am using the GitLab API to retrieve issues from our company and I am running into a limitation with pagination. Although there are about 5400 issues in total in our GitLab:

I only ever get 258 issues back via the API queries in Power BI (after adjusting the per_page header. Otherwise there would only be 20 records in response due to the default GitLab API return limit).

 

Even when docking the endpoint via Postman with keyset pagination, I only get 258 for X-Total:

 

running this GET request: https://gitlab.company_name.com/api/v4/issues?pagination=keyset&per_page=2&order_by=updated_at&sort=asc

 

The Power-Query Script im currently using in the Dataflow:

 

But Response column is just 258 records as well: 

 

I appreciate any help!

 

Best regards 🙂

 

4 Replies