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?