# Troubleshooting Formsets

**URL:** <https://forum.djangoproject.com/t/troubleshooting-formsets/13676>\
**Category:** Mystery Errors\
**Created:** [May 13, 2022, 6:22am UTC](https://forum.djangoproject.com/t/troubleshooting-formsets/13676 "2022-05-13T06:22:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![onyeibo](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/onyeibo/32/11494_2.png) [@onyeibo](https://forum.djangoproject.com/u/onyeibo)\
**Post date:** [May 13, 2022, 6:22am UTC](https://forum.djangoproject.com/t/troubleshooting-formsets/13676/1 "2022-05-13T06:22:22Z")

</div>

I have a formset that is returning `False` for `fomset.is_valid()`. ` formset.errors` print empty` [].` How do I begin to troubleshoot a formset? Where do I look?

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [May 13, 2022, 11:06am UTC](https://forum.djangoproject.com/t/troubleshooting-formsets/13676/2 "2022-05-13T11:06:08Z")

</div>

Things to look at:

- Error messages on the console associated with the submission of the form?

- Overriding any of the default behavior of the formset in the view?

- Performing any dynamic modification of the formset on the client side?

- Verify that the data being submitted is correct?

- Verify that the view handling the post is properly rebuilding the formset from the submitted data?

If none of that is providing any real clues, then my next steps would be to either run it in the debugger to see what’s happening, or start sprinkling print statements in at multiple places to figure out what’s going on.

---

<div class="post-metadata">

**Author:** ![onyeibo](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/onyeibo/32/11494_2.png) [@onyeibo](https://forum.djangoproject.com/u/onyeibo)\
**Post date:** [May 13, 2022, 8:02pm UTC](https://forum.djangoproject.com/t/troubleshooting-formsets/13676/3 "2022-05-13T20:02:24Z")

</div>

Someone on `#django` IRC channel in **liberachat** solved it:  
The issue was with` formset.management_form`. I did not include `{{ myformset.management_form }}` in the template so `INITIAL_FORM` and `TOTAL_FORMS` values were missing. I needed to look at f`ormset.management_form.errors` instead.
