Hello all!
I have this issue when trying to update a freshsales account via API. I am using upsert and it works for any other accounts but for the account 111ELY, this error shows :
data : {"unique_identifier": {"name": "111ELY"}, "sales_account": {"custom_field": {"cf_raison_sociale": "CLI TEST ET", "cf_numro_de_tiret": "52346248900015", "cf_numro_tva_intercommunautaire": "FR62523462489", "cf_type_client": "Client", "cf_commercial": "MAMMA - Mohamed Yacine AMMARI", "cf_commercial__sedentaire": "EMAUR - Eric MAURER", "cf_population": "INSTA - INSTALLATEURS", "cf_segment": "IG - INSTALLATEUR GENERALISTE", "cf_groupement": "IG - INSTALLATEUR GENERALISTE", "cf_secteur1": "IG - INSTALLATEUR GENERALISTE", "cf_march": "AUTRE - ", "cf_type": "AIR - AIR", "cf_canal": "DI - Distributeurs", "cf_rgion": "PIDFCNE - PIDFCNE", "cf_agence": "PARIS - PARIS", "cf_remise_potentiel_tarif": "T5", "cf_origine": "A1 - Appel entrant", "cf_interdit_mailing": "true", "cf_actif": "true", "cf_rgimes_de_taxes_tiers": "FRA - France"}, "name": "111ELY", "phone": "111121314", "address": "IDF 3, Avenue Jeanne Garnerin ", "city": "WISSOUS", "state": "PIDFCNE", "country": "France"}}
Request status : 422
Reason : Unprocessable Entity