# Escaping unsupported characters in custom attributes

**URL:** <https://community.egain.com/t/escaping-unsupported-characters-in-custom-attributes/1078>\
**Category:** Platform + Developer\
**Created:** [January 10, 2023, 3:49pm UTC](https://community.egain.com/t/escaping-unsupported-characters-in-custom-attributes/1078 "2023-01-10T15:49:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![VeerendraCKakarla](https://avatars.discourse-cdn.com/v4/letter/v/839c29/32.png) [@VeerendraCKakarla](https://community.egain.com/u/VeerendraCKakarla)\
**Post date:** [January 10, 2023, 3:49pm UTC](https://community.egain.com/t/escaping-unsupported-characters-in-custom-attributes/1078/1 "2023-01-10T15:49:37Z")

</div>

We are using eGain APIs to create new activities and send some information in custom attributes related to that activity as well. However, we did find that there are some unsupported characters such as + or ! for example. And if such characters are present, how can we get API request to simply escape that and just go ahead with the request instead of throwing an error?

---

<div class="post-metadata">

**Author:** ![Varun](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Varun](https://community.egain.com/u/Varun)\
**Post date:** [January 11, 2023, 8:58pm UTC](https://community.egain.com/t/escaping-unsupported-characters-in-custom-attributes/1078/2 "2023-01-11T20:58:13Z")

</div>

Hi Veerendra, I will run this by eGain API experts and post their response. Thank you!

---

<div class="post-metadata">

**Author:** ![Varun](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Varun](https://community.egain.com/u/Varun)\
**Post date:** [January 18, 2023, 12:54am UTC](https://community.egain.com/t/escaping-unsupported-characters-in-custom-attributes/1078/3 "2023-01-18T00:54:12Z")

</div>

Hi Veerendra, thanks for your feedback. We have consulted with our teams internally and concluded that we can support this request with some caveats (angled brackets and forward slashes excluded). We have some more investigation to do on downstream impact, but will look to add this extended functionality on our roadmap.

---

<div class="post-metadata">

**Author:** ![VeerendraCKakarla](https://avatars.discourse-cdn.com/v4/letter/v/839c29/32.png) [@VeerendraCKakarla](https://community.egain.com/u/VeerendraCKakarla)\
**Post date:** [February 6, 2023, 7:26am UTC](https://community.egain.com/t/escaping-unsupported-characters-in-custom-attributes/1078/4 "2023-02-06T07:26:16Z")

</div>

Hi Varun, thanks for looking into potentially adding it to roadmap. However, we would like to achieve it ourselves now from our code and we could not even with trying. How could you support our developers on this?

---

<div class="post-metadata">

**Author:** ![Varun](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Varun](https://community.egain.com/u/Varun)\
**Post date:** [February 9, 2023, 9:43pm UTC](https://community.egain.com/t/escaping-unsupported-characters-in-custom-attributes/1078/5 "2023-02-09T21:43:39Z")

</div>

Sorry Veerendra, our SME informed that it’ll need some backend changes on our end too. We have added this as a feature request.
