# Issue in sending JSON data using custom action

**URL:** <https://forum.adalo.com/t/issue-in-sending-json-data-using-custom-action/7581>\
**Category:** External Collections, Custom Actions & Collections\
**Created:** [January 4, 2021, 1:27pm UTC](https://forum.adalo.com/t/issue-in-sending-json-data-using-custom-action/7581 "2021-01-04T13:27:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![senthilmanikandan](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@senthilmanikandan](https://forum.adalo.com/u/senthilmanikandan)\
**Post date:** [January 4, 2021, 1:27pm UTC](https://forum.adalo.com/t/issue-in-sending-json-data-using-custom-action/7581/1 "2021-01-04T13:27:32Z")

</div>

I have a problem with sending JSON data using a custom action , While using a test run request at a time of creating a custom action It is sending JSON Data perfectly

 ![Screen Shot 2021-01-04 at 6.45.20 PM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/7/734bb6614311984029a7af1104de95fe622de588.png)

But when data is passed on App realtime

 ![Screen Shot 2021-01-04 at 6.45.36 PM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/b/bfe1d9d440b37b693cb96dd6a4ca10160186617d.png)  
Payload is sent a string,

Is there is any way to fix it?

---

<div class="post-metadata">

**Author:** ![anon78309838](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anon78309838](https://forum.adalo.com/u/anon78309838)\
**Post date:** [January 7, 2021, 11:04am UTC](https://forum.adalo.com/t/issue-in-sending-json-data-using-custom-action/7581/2 "2021-01-07T11:04:39Z")

</div>

Can you share a screenshot of how this is setup in the custom action?

---

<div class="post-metadata">

**Author:** ![senthilmanikandan](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@senthilmanikandan](https://forum.adalo.com/u/senthilmanikandan)\
**Post date:** [January 7, 2021, 11:18am UTC](https://forum.adalo.com/t/issue-in-sending-json-data-using-custom-action/7581/3 "2021-01-07T11:18:25Z")

</div>

We have fixed it, Issue is because of text input which is of multi-line, changed to a single line it worked perfectly.  
👍
