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
- 206 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 357 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 561 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.6K SKY Developer
- 242 ResearchPoint™
- 118 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) 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
- 778 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)
