# Nesting Ecto.Multis

**URL:** <https://forum.elixirforum.com/t/nesting-ecto-multis/6166>\
**Category:** Questions\
**Tags:** ecto, ecto\_multi\
**Created:** [June 18, 2017, 10:01am UTC](https://forum.elixirforum.com/t/nesting-ecto-multis/6166 "2017-06-18T10:01:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jdj\_dk](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jdj_dk/32/18562_2.png) [@jdj\_dk](https://forum.elixirforum.com/u/jdj_dk)\
**Post date:** [June 18, 2017, 6:21pm UTC](https://forum.elixirforum.com/t/nesting-ecto-multis/6166/2 "2017-06-18T18:21:05Z")

</div>

The error came from my all\_ok? function which maps all results from map to find a single :error tuple. Fixing this made the nested structure work fine.

---

_[View the full topic](https://forum.elixirforum.com/t/nesting-ecto-multis/6166)._
