System.OutOfMemoryException error when using Altru adHocQuery endpoint when using multiple fields in report.
Hello experts,
I recently encountered an issue while using the AdHocQuery endpoint with a report of constituents. It seems that when the report contains certain fields, the response size limit is reached, resulting in errors. Removing some fields solves the problem, but this is not a permanent solution as our database grows over time. I have tried to implement pagination to manage the response size limit, but I can't find any information on how to do this with the current endpoint. Can anyone provide guidance or assistance on implementing pagination for this endpoint?
Response error: System.OutOfMemoryException' was thrown.
I found this article but didn't see the real issue:
Is there way to paginate records in this endpoint?

Comments
-
something wrong with your request?
0 -
@Son Le
Yes, I have to limit it because it fails with the System.OutOfMemoryException error. But I need all the results and I haven't found a way to get them. I tried using an offset, but it didn't work for this endpoint.Example try:
try #1 https://api.sky.blackbaud.com/alt-anamg/adhocqueries/{query_id}[?limit=25000&offset=1]
try #2 https://api.sky.blackbaud.com/alt-anamg/adhocqueries/{query_id}[?offset=1&limit=25000].
Do you have any workaround for pagination?0
Categories
- All Categories
- 6 Blackbaud Community Help
- 213 bbcon®
- 1.4K Blackbaud Altru®
- 400 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 655 Blackbaud Grantmaking™
- 576 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 939 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.6K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 241 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 34 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 790 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
