Query API Run Adhoc is failing with 500 Internal Error
I have setup 12 flows using Query API, where 3 of them runs using a saved query in database view (due to cannot use adhoc for specific gift attributes). Other 9 is running using Adhoc querying.
Started with my 5PM EST run, all 9 that use Adhoc querying failed (it is now 7PM and I just tried again and is still failing).
I am using Blackbaud Add-ins Send HTTP Request:
- Method: POST
- Relative Path: /query/queries/execute
- Query Paramters: product=RE and module=None
- Request Body:
{
"query":
{
"select_fields": [
{
"query_field_id": 349,
"user_alias": "id"
},
{
"query_field_id": 3789,
"user_alias": "classification"
},
{
"query_field_id": 3788,
"user_alias": "status"
}
],
"filter_fields": [
{
"query_field_id": 3789,
"compare_type": "None",
"filter_values": [
0
],
"operator": "NotBlank",
"left_parenthesis": false,
"right_parenthesis": false
},
{
"query_field_id": 3788,
"compare_type": "Or",
"filter_values": [
0
],
"operator": "NotBlank",
"left_parenthesis": false,
"right_parenthesis": false
}
],
"sort_fields": [],
"gift_processing_options": {
"soft_credit_option": "Donor",
"matching_gift_credit_option": "MatchingGiftCompany",
"use_gross_amount_for_covenants": false
},
"advanced_processing_options": {
"use_alternate_sql_code_table_fields": false,
"use_alternate_sql_multiple_attributes": false
},
"type_id": 18,
"format": "Dynamic",
"suppress_duplicates": false,
"constituent_filters": {
"include_inactive": true,
"include_deceased": true,
"include_no_valid_addresses": true
}
},
"ux_mode": "Asynchronous",
"formatting_mode": "None"
}
- This is a query to get on all constituent non blank prospect classification and status
- Response Headers:
{
"Cache-Control": "no-store, must-revalidate, no-cache",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"Request-Context": "appId=cid-v1:0c37065f-4d7c-47cf-af06-96cd9a75949d,appId=cid-v1:12568f68-434a-4c0e-bfb8-885db4682268",
"X-Content-Type-Options": "nosniff",
"x-ms-function-status": "OK",
"Date": "Thu, 07 Mar 2024 00:32:51 GMT",
"Content-Length": "156",
"Content-Type": "application/problem+json"
}
- Response Body:
{
"type": "urn:blackbaud:unexpected",
"title": "An error has occurred.",
"status": 500,
"trace_id": "80b4598b55844d15b70d7582d93e376d",
"span_id": "930b446862c9dee4"
}
@Erik Leaver @Heather McLean is this something you can do to track down the issue?
Comments
-
Just now, the Query API that uses saved database view query by query id is also failing, failing with a different error.
{
"statusCode": 403,
"headers": {
"Cache-Control": "no-store, must-revalidate, no-cache",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"Request-Context": "appId=cid-v1:0c37065f-4d7c-47cf-af06-96cd9a75949d,appId=cid-v1:12568f68-434a-4c0e-bfb8-885db4682268",
"X-Content-Type-Options": "nosniff",
"x-ms-function-status": "OK",
"Date": "Thu, 07 Mar 2024 02:22:44 GMT",
"Content-Length": "0"
}
}
0 -
Looks like Query API is working again on my 5AM sync.
Would still love to know what happened and if it's once in a blue moon glitch or if I should have backup plan in place
0 -
@Alex Wong - A bug was filed last evening when you submitted the blog post and I see has been resolved. As you know this API is still in preview, so the team is working out some unexpected kinks.
0 -
@Alex Wong - We paused your access to the API while we sorted out the bug, but it was reinstated at 3:07am EST. Are you still experiencing issues?
0 -
@Heather McLean
It's working since 5am sync this morning. Thankyou0
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 402 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™
- 577 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.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 120 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 240 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) 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
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
