# Error loading form/contacts

**URL:** <https://forum.communityhealthtoolkit.org/t/error-loading-form-contacts/3091>\
**Category:** Technical Support\
**Tags:** forms\
**Created:** [October 5, 2023, 9:52am UTC](https://forum.communityhealthtoolkit.org/t/error-loading-form-contacts/3091 "2023-10-05T09:52:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Job\_Isabai](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/job_isabai/32/1417_2.png) [@Job\_Isabai](https://forum.communityhealthtoolkit.org/u/Job_Isabai)\
**Post date:** [October 5, 2023, 9:52am UTC](https://forum.communityhealthtoolkit.org/t/error-loading-form-contacts/3091/1 "2023-10-05T09:52:11Z")

</div>

Hello,  
I am getting this error on my test server.  
Issue is also related to logged in users is not able to access the forms.

 ![image](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/b/b43b96e0fd79a1c21bf17b59d70686f649863659.png)  
When loading the form the user gets this error:  
 ![MicrosoftTeams-image](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/e/e41affad741f55395dfe0b1de7a985c3044a0aec.png)  
Contacts are not loaded and the forms are not accessible.  
Thanks,  
Job

---

<div class="post-metadata">

**Author:** ![diana](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/diana/32/2049_2.png) [@diana](https://forum.communityhealthtoolkit.org/u/diana)\
**Post date:** [October 5, 2023, 10:03am UTC](https://forum.communityhealthtoolkit.org/t/error-loading-form-contacts/3091/2 "2023-10-05T10:03:11Z")

</div>

Hi @Job_Isabai

I believe this is expected, it’s required for your user to have a contact associated with them. Can you please review your user and check they have both a contact and a place?

---

<div class="post-metadata">

**Author:** ![Job\_Isabai](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/job_isabai/32/1417_2.png) [@Job\_Isabai](https://forum.communityhealthtoolkit.org/u/Job_Isabai)\
**Post date:** [October 5, 2023, 10:53am UTC](https://forum.communityhealthtoolkit.org/t/error-loading-form-contacts/3091/3 "2023-10-05T10:53:06Z")

</div>

Hi Diana,  
Yes, these users have contacts associated to them.  
All user accounts were working correctly on CHT 3.15, the error started showing up after upgrade to CHT 4.3.1  
Thanks,  
Job

---

<div class="post-metadata">

**Author:** ![diana](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/diana/32/2049_2.png) [@diana](https://forum.communityhealthtoolkit.org/u/diana)\
**Post date:** [October 5, 2023, 10:56am UTC](https://forum.communityhealthtoolkit.org/t/error-loading-form-contacts/3091/4 "2023-10-05T10:56:03Z")

</div>

Hi @Job_Isabai

In CHT `4.3.0` we added support for controlling which forms users are allowed to see by using form permissions and expressions. [Prevent users from opening and filling forms they're not authorized to see/fill · Issue #6505 · medic/cht-core · GitHub](https://github.com/medic/cht-core/issues/6505)  
Can you please check both for your forms?

---

<div class="post-metadata">

**Author:** ![Job\_Isabai](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/job_isabai/32/1417_2.png) [@Job\_Isabai](https://forum.communityhealthtoolkit.org/u/Job_Isabai)\
**Post date:** [October 5, 2023, 11:18am UTC](https://forum.communityhealthtoolkit.org/t/error-loading-form-contacts/3091/5 "2023-10-05T11:18:15Z")

</div>

Yes, my permissions are in order.  
Apart from accessing the forms, the user is not able to load other contacts within he same clinic. See the below screenshot.

 ![image](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/7/75a3b909d9bb5b5751386e30a38646b9ca3de017.png)  
A solution to this has been: shifting the permissions from chw to chw\_sup and back then sync the devices until after all config/records are replicated.

---

<div class="post-metadata">

**Author:** ![diana](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/diana/32/2049_2.png) [@diana](https://forum.communityhealthtoolkit.org/u/diana)\
**Post date:** [October 5, 2023, 11:38am UTC](https://forum.communityhealthtoolkit.org/t/error-loading-form-contacts/3091/6 "2023-10-05T11:38:07Z")

</div>

hi @Job_Isabai

> the user is not able to load other contacts within he same clinic

This is likely another issue, and possibly related to your configuration. Without more information, I’m unsure what to suggest.
