# Jason.DecodeError exception

**URL:** <https://forum.elixirforum.com/t/jason-decodeerror-exception/21114>\
**Category:** Questions\
**Tags:** phoenix, json, content-type\
**Created:** [March 25, 2019, 3:41am UTC](https://forum.elixirforum.com/t/jason-decodeerror-exception/21114 "2019-03-25T03:41:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fireproofsocks](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/fireproofsocks/32/7669_2.png) [@fireproofsocks](https://forum.elixirforum.com/u/fireproofsocks)\
**Post date:** [March 25, 2019, 3:51am UTC](https://forum.elixirforum.com/t/jason-decodeerror-exception/21114/2 "2019-03-25T03:51:23Z")

</div>

Ah… the problem was the body. I did this and things seem to be working now.

```elixir
 data : JSON.stringify(formData)

```

---

_[View the full topic](https://forum.elixirforum.com/t/jason-decodeerror-exception/21114)._
