# User Authentication and Synchronization Failure on ODK-X

**URL:** <https://forum.odk-x.org/t/user-authentication-and-synchronization-failure-on-odk-x/2631>\
**Category:** Support\
**Created:** [July 9, 2024, 2:42pm UTC](https://forum.odk-x.org/t/user-authentication-and-synchronization-failure-on-odk-x/2631 "2024-07-09T14:42:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Godfrey\_John1](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/godfrey_john1/32/1923_2.png) [@Godfrey\_John1](https://forum.odk-x.org/u/Godfrey_John1)\
**Post date:** [July 9, 2024, 2:42pm UTC](https://forum.odk-x.org/t/user-authentication-and-synchronization-failure-on-odk-x/2631/1 "2024-07-09T14:42:30Z")

</div>

I am currently developing with the ODK-X tool and have configured it to the server. I am creating users using PHP LDAP Admin. I can sign in to the server using the web UI without any issues. However, when attempting to authenticate and synchronize on an Android device, only the admin user can successfully authenticate and synchronize to see the tables. Other users either fail to authenticate or, if authenticated, fail to synchronize and retrieve the tables.

Error Message: User authorization failure: Please verify your username/password or your account access.

Steps Taken:

```
Configured ODK-X tool to the server.
Created users using PHP LDAP Admin.
Successfully signed in to the server via web UI with all users.
On Android devices, only the admin user can authenticate and synchronize to see the tables.
Other users fail to authenticate or, if authenticated, fail to synchronize.

```

I am looking for assistance in resolving this issue. Specifically, I need help understanding why non-admin users are failing to authenticate or synchronize and what steps I can take to fix this problem. Any insights or guidance would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [July 9, 2024, 3:08pm UTC](https://forum.odk-x.org/t/user-authentication-and-synchronization-failure-on-odk-x/2631/2 "2024-07-09T15:08:48Z")

</div>

Hi @Godfrey_John1!

In terms of configuring the users, I am wondering if the issue is how user data permission filters were set up? See [Data Permission Filters — ODK-X Docs](https://docs.odk-x.org/data-permission-filters/)  
It sounds like the users may not have enough permissions to sync or edit the tables in some cases.

---

<div class="post-metadata">

**Author:** ![Godfrey\_John1](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/godfrey_john1/32/1923_2.png) [@Godfrey\_John1](https://forum.odk-x.org/u/Godfrey_John1)\
**Post date:** [July 9, 2024, 3:35pm UTC](https://forum.odk-x.org/t/user-authentication-and-synchronization-failure-on-odk-x/2631/3 "2024-07-09T15:35:17Z")

</div>

i have tried checking the permission, for a user who is admin i found this: " There was an unexpected error (type=Internal Server Error, status=500).

500

Please contact the operator with the above information."

can you tell me in detail what can i do, i have tried reading the documentation but still i dont understand.

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [July 9, 2024, 3:49pm UTC](https://forum.odk-x.org/t/user-authentication-and-synchronization-failure-on-odk-x/2631/4 "2024-07-09T15:49:38Z")

</div>

So when you set up your users, did you assign them to groups that have the right permissions?  
[Data Permission Filters — ODK-X Docs](https://docs.odk-x.org/data-permission-filters/) describes the types of permissions  
and  
[https://docs.odk-x.org/sync-endpoint-user-instructions/#assigning-users-to-groups](https://docs.odk-x.org/sync-endpoint-user-instructions/#assigning-users-to-groups)  
describes the assigning.  
If users were not assigned to the groups for editing, synchronizing, etc., then this may be why you are getting errors.

---

<div class="post-metadata">

**Author:** ![Godfrey\_John1](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/godfrey_john1/32/1923_2.png) [@Godfrey\_John1](https://forum.odk-x.org/u/Godfrey_John1)\
**Post date:** [July 9, 2024, 4:09pm UTC](https://forum.odk-x.org/t/user-authentication-and-synchronization-failure-on-odk-x/2631/5 "2024-07-09T16:09:08Z")

</div>

what i have done is just signing them in “default\_prefix data\_collectors” is there any place to sign them?? or any kind of permission?

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [July 9, 2024, 4:23pm UTC](https://forum.odk-x.org/t/user-authentication-and-synchronization-failure-on-odk-x/2631/6 "2024-07-09T16:23:49Z")

</div>

@Godfrey_John1 in [Users and Groups — ODK-X Docs](https://docs.odk-x.org/sync-endpoint-user-instructions/#assigning-users-to-groups) you can see how they assign users to groups such as to 503 for _default\_prefix\_synchronize\_tables_

---

<div class="post-metadata">

**Author:** ![Godfrey\_John1](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/godfrey_john1/32/1923_2.png) [@Godfrey\_John1](https://forum.odk-x.org/u/Godfrey_John1)\
**Post date:** [July 9, 2024, 4:33pm UTC](https://forum.odk-x.org/t/user-authentication-and-synchronization-failure-on-odk-x/2631/7 "2024-07-09T16:33:46Z")

</div>

i have done that with the success now, my concern is on, my user with the role of admin site, when i try to login in my android device by using this user i get the following error "Internal Server Error (500) please notify your server administrator. but when a user has a role of “default\_prefix data\_collectors” can login and synchronise.

---

<div class="post-metadata">

**Author:** ![elmps2018](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/elmps2018/32/105_2.png) [@elmps2018](https://forum.odk-x.org/u/elmps2018)\
**Post date:** [July 10, 2024, 9:51pm UTC](https://forum.odk-x.org/t/user-authentication-and-synchronization-failure-on-odk-x/2631/8 "2024-07-10T21:51:46Z")

</div>

Did the admin. user have their permissions changed accidentally when adding the other users? Otherwise this is a fairly generic error - I would suggest checking the logs on the tablet and the server to see if there’s a more specific error message.

---

<div class="post-metadata">

**Author:** ![W\_Brunette](https://odkx.b-cdn.net/user_avatar/forum.odk-x.org/w_brunette/32/376_2.png) [@W\_Brunette](https://forum.odk-x.org/u/W_Brunette)\
**Post date:** [July 11, 2024, 6:07am UTC](https://forum.odk-x.org/t/user-authentication-and-synchronization-failure-on-odk-x/2631/9 "2024-07-11T06:07:29Z")

</div>

Likely you have an error in your LDAP configuration.

The errors generally will show up to a site administer logging into the following URL

`https://<YOUR DOMAIN URL>/odktables/default/usersInfo`
