# Synonym using a file is not working: malformed\_input\_exception

**URL:** <https://discuss.elastic.co/t/synonym-using-a-file-is-not-working-malformed-input-exception/60487>\
**Category:** Elasticsearch\
**Created:** [September 14, 2016, 10:36am UTC](https://discuss.elastic.co/t/synonym-using-a-file-is-not-working-malformed-input-exception/60487 "2016-09-14T10:36:51Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![valerioorfano](https://avatars.discourse-cdn.com/v4/letter/v/ba9def/32.png) [@valerioorfano](https://discuss.elastic.co/u/valerioorfano)\
**Post date:** [September 15, 2016, 7:08am UTC](https://discuss.elastic.co/t/synonym-using-a-file-is-not-working-malformed-input-exception/60487/5 "2016-09-15T07:08:19Z")

</div>

Hi David and thanx.

I must correct myself. Acutally it's not the 2 tokens synonym to create the error but the diacritic.

the original row was:

abbattere, ammainare, peggiorare, tirare giù =\> this causes the malformed error because of the ù

If ireplace ù with u' it works!

abbattere, ammainare, peggiorare, tirare giu' =\> OK

Therefore i think i'm going to replace all the diacritics

Thanx valerio

---

_[View the full topic](https://discuss.elastic.co/t/synonym-using-a-file-is-not-working-malformed-input-exception/60487)._
