Create contact using REST API error :: {"message": "General error" }

I am trying to create contact using REST API and I am having General Error even if my payload is as expected.

Attaching the payload below. Please guide me on what I am doing wrong.

{
   "id":0,
   "owner_id":0,
   "given_name":"Divyesh",
   "middle_name":null,
   "family_name":"Desai",
   "email_status":null,
   "email_opted_in":false,
   "date_created":null,
   "email_addresses":[
      {
         "email":"divyesh7@softsages.com",
         "field":"EMAIL1"
      }
   ],
   "addresses":[
      {
         "line1":"17 Mystic Lane",
         "line2":"Suite 2A",
         "locality":"Malvern",
         "region":"PA",
         "field":"BILLING",
         "postal_code":"19355",
         "zip_code":"19355",
         "zip_four":null,
         "country_code":"USA"
      }
   ],
   "phone_numbers":null,
   "custom_fields":null
}

Hi @Deep_Sleep_Test,

I had a similar issue with creating contacts and my solution was to format the email_addresses field differently.
Maybe give that a try and see if it gets you any further.

{
	"email_addresses": {
		"0": {
			"email": "divyesh7@softsages.com",
			"field": "EMAIL1"
		}
	}
}