Lookup ID '######' is already in use for another constituent
We are experiencing some strange behaviour when creating constituents via the SKY API. On rare occasions (but always during office hours), we'll get a ‘400’ response informing us that a lookup ID (which appears nowhere in the request) is already in use for another constituent. The lookup IDs it reports appear to relate to records that were added whilst the API process was running. And after this error occurs, we find that a non-constituent record has been created (but we don't get the system record ID due to the 400 error).
It seems that the API gets the next available lookup ID but does not reserve it. So if a new constituent is created at the same time and is able to commit more quickly we'll see this error (and a non-constituent record we can't account for). The users in this environment are mostly using the Database View which may account for the disconnect.
It's clearly a bug, but I'm interested to know if anyone else has seen this behaviour before I report it?
Jon.
Comments
-
@Jonathan Kay
did you check right after you get an error that say Lookup ID is already in use if there is actually a constituent with that lookup id, and if so, use the Get Constituent API to check on that record to see when it was created, compare that to your code of date/time of when failed.0 -
@Alex Wong
Yes. The lookup ID does exist after the error occurs and the date_added value corresponds with the time of the error. I've since discovered that ImportOmatic imports are being done whilst the API process is running.Jon.
0 -
@Jonathan Kay
sounds like a timing bug in the create constituent API endpoint. YOu should report this to Blackbaud Support.1 -
@Alex Wong
Done.1
Categories
- All Categories
- 6 Blackbaud Community Help
- 209 bbcon®
- 1.4K Blackbaud Altru®
- 395 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 648 Blackbaud Grantmaking™
- 567 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 937 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.5K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 247 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 239 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 31 PowerUp Challenges
- 3 (Open) 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
- 782 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)
