# (FunctionClauseError) no function clause matching in Base.encode64/2

**URL:** <https://forum.elixirforum.com/t/functionclauseerror-no-function-clause-matching-in-base-encode64-2/30484>\
**Category:** Questions\
**Tags:** phoenix, learning-elixir, bamboo\
**Created:** [April 9, 2020, 2:45pm UTC](https://forum.elixirforum.com/t/functionclauseerror-no-function-clause-matching-in-base-encode64-2/30484 "2020-04-09T14:45:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![NobbZ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/32/27235_2.png) [@NobbZ](https://forum.elixirforum.com/u/NobbZ)\
**Post date:** [April 9, 2020, 3:03pm UTC](https://forum.elixirforum.com/t/functionclauseerror-no-function-clause-matching-in-base-encode64-2/30484/2 "2020-04-09T15:03:20Z")

</div>

You need to pass in a binary, rather than iodata.

---

_[View the full topic](https://forum.elixirforum.com/t/functionclauseerror-no-function-clause-matching-in-base-encode64-2/30484)._
