Getting An error has occurred while creating Constituents
Hey folks,
i am trying to create constituent into RENXT through api but many times i am getting “An error has occurred.” message.
Request URL : constituent/v1/constituents
Below one is my sample request
{
"first": "Nikunj",
"last": "Lg",
"phone": {
"do_not_call": false,
"inactive": false,
"number": "212-212-2131",
"primary": true,
"type": "Work"
},
"address": {
"address_lines": "Test, Test",
"city": "Miami",
"postal_code": "TRFSS",
"country": "United States",
"state": "Ohio",
"type": "Home"
},
"email": {
"address": "nikunj+lg@xxxx.com",
"primary": true,
"type": "Email"
},
"preferred_name": "Nikunj",
"import_id": "EGf2c05dc230af434190",
"type": "Individual"
}
And below is the response i am getting
{
"Message": "An error has occurred."
}
The important thing that however it is throwing error in api but still the Constituent is created.
can some one please help me?
Comments
-
@Nikunj Prajapati
you only provided a JSON body for the creation so it is hard to determine what might be wrong. Here's a few situation:- have you been able to do a GET constituent? (meaning you already took care of authentication to call API)
- does the app and user has right to create constituent record
- the request body json looks right, but
- is “Work” a valid phone type in your RENXT instance
- is “Home” a valid address type in your RENXT instance
- is “Email” a valid email type in your RENXT instance
- Suggestion, try a basic request without any “table entries” issue to resolve:
{
"first": "Nikunj",
"last": "Lg",
"type": "Individual"
}
0 -
@Alex Wong Thanks for your quick response, actually the issue was importid in my case where i was passing same value for every constituent create request.
0 -
@Nikunj Prajapati
glad you found the issue.Note that import id is optional, you do not need to provide that info. Import ID is automatically assigned properly (unique value) by RE directly. So unless your org requires import id to be in specific formatting, don't need to provide specific import id to use.
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 213 bbcon®
- 1.4K Blackbaud Altru®
- 400 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
- 939 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.6K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 241 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 34 PowerUp Challenges
- 3 (Open) 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
- 790 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)
