# "(FunctionClauseError) no function clause matching" error

**URL:** <https://forum.elixirforum.com/t/functionclauseerror-no-function-clause-matching-error/39366>\
**Category:** Questions\
**Tags:** ecto, mix, phoenix, troubleshooting, learning-elixir, liveview, genserver\
**Created:** [May 3, 2021, 1:23am UTC](https://forum.elixirforum.com/t/functionclauseerror-no-function-clause-matching-error/39366 "2021-05-03T01:23:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![derek-zhou](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/derek-zhou/32/19943_2.png) [@derek-zhou](https://forum.elixirforum.com/u/derek-zhou)\
**Post date:** [May 3, 2021, 1:39am UTC](https://forum.elixirforum.com/t/functionclauseerror-no-function-clause-matching-error/39366/2 "2021-05-03T01:39:05Z")

</div>

So your `@truck_load` is not a `%TruckLoad(...}` then. the error message after the `** (FunctionClausError)...` line should give you more clue

---

_[View the full topic](https://forum.elixirforum.com/t/functionclauseerror-no-function-clause-matching-error/39366)._
