Getjob query api giving status failed
I am currently working with the Blackbaud SKY API to programmatically run Adhoc queries and retrieve constituent data. I am following the documented process using the following steps:
1.Execute the query using the
endpoint. This returns a job_id.
2.Poll the job status using
. I call this endpoint every few seconds to check the current status.
3.Once the status changes to "completed", I extract the sas_uri from the response and retrieve the resulting data.
This workflow works correctly for small datasets. i.e. 2000 constituents
However, I am facing a consistent failure when the result set is larger. i.e. 10000 constituents
Note: I am applying one of filter too for getting specific constituents.
I am doing this as I need to get more than 2000 records:
Here are the detailed symptoms:
• The first few polling attempts return "status": "running".
• After a few attempts, the status becomes "failed" and stays that way permanently.
• There is no detailed error message or explanation provided in the job status response.
My current hypothesis is that the query job may be failing due to one or more of the following reasons:
• A timeout or execution time limit on the backend when the result set is large.
• Memory or resource limits on the server during large query processing.
• A limit on the number of constituents or rows returned per query.
I would appreciate guidance on the following points:
• Are there any known limits on the size, execution time, or result count for Adhoc query jobs?
• Is there a recommended way to avoid this failure?
• Is there any way to retrieve logs or diagnostic information for a failed query job to understand why it failed?
Thanks
Answers
-
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 206 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 357 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 561 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.6K SKY Developer
- 242 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) 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
- 778 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)
