Error Action 'Apply_to_each_3' failed
Hello, I have a flow for my acknowledgment letters that was working fine for months but recently started failing because of the below error. The error seems to indicate it's not passing a valid ID to call the relationships for a Tribute gift but I'm really not sure how to fix this error as I see nothing wrong in the constituent record. Can anyone advise? Thanks in advance.
{
"statusCode": 400,
"headers": {
"Cache-Control": "no-cache",
"Pragma": "no-cache",
"Strict-Transport-Security": "max-age=31536000;includeSubDomains",
"Request-Context": "appId=cid-v1:0c37065f-4d7c-47cf-af06-96cd9a75949d",
"Content-Security-Policy": "frame-ancestors 'self' https://host.nxt.blackbaud.com",
"section-io-id": "3fd9126e74502f951497dd0523ea4cd2",
"x-ms-function-status": "OK",
"Date": "Thu, 18 Jan 2024 23:04:26 GMT",
"Content-Length": "366",
"Content-Type": "application/json; charset=utf-8",
"Expires": "-1"
},
"body": [
{
"message": "The provided Id value 'relationships' is either not a valid integer, or it is not greater than or equal to '1'.",
"error_name": "ConstituentSecurityDataAccessRE7InvalidIntegerIdValue",
"error_code": 1,
"raw_message": "The provided Id value '{0}' is either not a valid integer, or it is not greater than or equal to '{1}'.",
"error_args": [
"relationships",
"1"
]
}
]
}
Comments
-
@Marilyn Montoya - Can you share a screenshot of where in the flow this error is appearing? Make sure to include a few of the actions that proceed the one that is erroring out.
0 -
@Austen Brown yes, please see below.
This is the screenshot of where the error occurs.
And this is the screenshot of the Action before the one above. Oddly the constituent ID that is listed in the “Get a constituent” Action is not a constituent in the gift list that is being pulled into this flow nor is it a tribute acknowledgee. In the “List gift tribute acknowledgee” Action there is a "gift_tribute_id" but I'm not sure what this refers to or how to look this up in RE. Any help or insight is greatly appreciated.
0 -
@Marilyn Montoya - “gift_tribute_id” = The system record ID of the gift tribute.
Can you share a screenshot of the action that is failing, in edit mode? Rather than the result of the run?0 -
@Marilyn Montoya - when IDs aren't lining up sometimes I'm connecting to two different RENXT databases in the same flow. Have you checked to make sure all your connections are pointing to the same one?
0 -
@Marilyn Montoya
the screenshot you shared that has the error is showing that you are calling this API endpoint:
https://api.sky.blackbaud.com/constituent/v1/constituents/relationships/{relationship_id}which is to get a relationship record where you already know the relationship by its ID (this is NOT constituent record id). I don't know what your intent is on this call, but it does not look like you even provided a relationship_id to the API call neither. (
/constituent/v1/constituents/relationships/) which is why it is failing0 -
@Austen Brown Yes, let me know if the below will suffice. Thanks!
0 -
@Alex Wong after looking for a pattern my sense is that the error is occurring when the tribute acknowledgee is the same as the Tribute honoree. So when a gift is made in honor of Jane Smith, the acknowledgee to send the Tribute notification is Jane Smith. Do you know what changes need to be made to the flow to support this? Thanks.
0 -
@Marilyn Montoya
it shouldn't matter.But what does matter is what you provided as the ID to call the various API.
in your List gift tribute acknowledges action, you should be providing the Gift tribute ID (it appears you provided the gift system ID), which can only be obtained from List gift tributes action where you provide the gift system id to it, and it returns an array (list) of gift tributes, from there you will use the tribute_id to get acknowledgees for this specific tribute (as there can be more than 1 tribute on a single gift).
0
Categories
- All Categories
- 6 Blackbaud Community Help
- High Education Program Advisory Group (HE PAG)
- BBCRM PAG Discussions
- Luminate CRM DC Users Group
- DC Luminate CRM Users Group
- Luminate PAG
- 186 bbcon®
- 1.4K Blackbaud Altru®
- 389 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 14 donorCentrics®
- 355 Blackbaud eTapestry®
- 2.4K Blackbaud Financial Edge NXT®
- 616 Blackbaud Grantmaking™
- 542 Blackbaud Education Management Solutions for Higher Education
- 33 Blackbaud Impact Edge™
- 3.1K Blackbaud Education Management Solutions for K-12 Schools
- 909 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 207 JustGiving® from Blackbaud®
- 6.2K Blackbaud Raiser's Edge NXT®
- 3.5K SKY Developer
- 236 ResearchPoint™
- 116 Blackbaud Tuition Management™
- 375 YourCause® from Blackbaud®
- 160 Organizational Best Practices
- 232 The Tap (Just for Fun)
- 31 Blackbaud Community Challenges
- Blackbaud Consultant’s Community
- 19 PowerUp Challenges
- 3 Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 Raiser's Edge NXT PowerUp Challenge: Events
- 3 Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 Raiser's Edge NXT PowerUp Challenge #1 (Query)
- 71 Blackbaud Community All-Stars Discussions
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 743 Community News
- 2.8K Jobs Board
- Community Help Blogs
- 52 Blackbaud SKY® Reporting Announcements
- Blackbaud Consultant’s Community
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
- Blackbaud Francophone Group
- Blackbaud Community™ Discussions
- Blackbaud Francophone Group