# FallbackController for response

**URL:** <https://forum.elixirforum.com/t/fallbackcontroller-for-response/21953>\
**Category:** Questions\
**Tags:** phoenix, troubleshooting\
**Created:** [April 26, 2019, 8:53pm UTC](https://forum.elixirforum.com/t/fallbackcontroller-for-response/21953 "2019-04-26T20:53:55Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![ChipCoons](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/chipcoons/32/29503_2.png) [@ChipCoons](https://forum.elixirforum.com/u/ChipCoons)\
**Post date:** [April 26, 2019, 10:14pm UTC](https://forum.elixirforum.com/t/fallbackcontroller-for-response/21953/7 "2019-04-26T22:14:51Z")

</div>

```elixir
{:ok, %Person{}}

```

If I pass that result into send\_to\_hubspot, I should be able to pattern match on the value, and then populate the JSON body to send to Hubspot, right? But I’m getting messed up in the syntax of writing that for some reason.

---

_[View the full topic](https://forum.elixirforum.com/t/fallbackcontroller-for-response/21953)._
