# Facilityuser has no facility

**URL:** <https://community.learningequality.org/t/facilityuser-has-no-facility/574>\
**Category:** Kolibri\
**Created:** [April 10, 2018, 8:15am UTC](https://community.learningequality.org/t/facilityuser-has-no-facility/574 "2018-04-10T08:15:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![djholmes](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@djholmes](https://community.learningequality.org/u/djholmes)\
**Post date:** [April 10, 2018, 8:15am UTC](https://community.learningequality.org/t/facilityuser-has-no-facility/574/1 "2018-04-10T08:15:44Z")

</div>

i tried to create my own form in my created app in kolibri, i am able to see the form but not able to post data through it. whenever i try to post data it give the error

RelatedObjectDoesNotExist: FacilityUser has no facility.  
ERROR “POST /registered/ HTTP/1.1” 500 134232

---

<div class="post-metadata">

**Author:** ![devon](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/devon/32/481_2.png) [@devon](https://community.learningequality.org/u/devon)\
**Post date:** [April 10, 2018, 2:55pm UTC](https://community.learningequality.org/t/facilityuser-has-no-facility/574/2 "2018-04-10T14:55:41Z")

</div>

Hi -

You can learn a bit more about the database models here: [http://kolibri-dev.readthedocs.io/en/develop/architecture/uap/index.html](http://kolibri-dev.readthedocs.io/en/develop/architecture/uap/index.html)

If you share a bit more about what you’re trying to do and post the code to github we’ll be able to give better feedback.

thanks!
