Error when posting gift custom fields
When posting gifts assigned to a batch through SkyAPI, the gift posts properly and the Id is returned. However, when posting a custom field to the previously posted gift, I receive a 404 error stating, “Returned when the specified opportunity is not found.” Researching the gift in RENXT, I see the gift with a status of “Pending approval”. Is that what is preventing the custom field to be posted, and if so, is there a work around? Any help would be greatly appreciated.
Comments
-
Those gifts sitting the batch and waiting on approval should not prevent custom fields from posting, we do the same and have no trouble with them posting. Do the custom fields you are posting exist in your RE setup (ie: “custom field category”)? Those have to be created in RE before you post them and the category name you post must match the category name in RE (case sensitive)
1 -
Kevin, thanks for the reply. Yes, those custom fields exist and we are matching the category name. We have implemented this pattern in other locations, except non-batched gifts, which led me to ask about it.
0 -
Gotcha. Is this happening in production, or dev account “sandbox”?
0 -
Sandbox
0 -
ah, that's the problem. Sandbox does not return valid gift ids, which will cause dependent subsequent calls to fail. I addressed this a few weeks ago in a post, no responses.
https://community.blackbaud.com/forums/viewtopic/494/562910 -
the only way I could successfully test it was by doing a one-off api call after getting the valid gift id from the webview ?
0 -
That said, I may have had to approve the batch first to get that valid ID as I recall, so there may be more than one issue here. But the docs say that the batch gift api returns the “gift_id”, so I wouldn't understand why it would be anything but the valid gift_id that could be used for additional calls.
0 -
Kevin, thanks for all the information. I think I finally realized that using this process is creating gift records that are not quite accessible (the batch gift post returns the system record ID, not gift ID) until the batch is approved, therefore you can't post additional attached records (like custom fields) until the batch is approved. Now I am running into an issue where I can see the posted batch in Web View, but not Database View, which doesn't make a lot of sense since that is where the records are contained.
0
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™
- 576 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 941 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)