Some of the Azure AD users cant login

Some of the admin users can’t log in to the application,
This is the error I got, someone please help me to fix this.
e[0me[31m05:47:00,281 ERROR [org.keycloak.headers.DefaultSecurityHeadersProvider] (default task-75) MediaType not set on path /auth/realms/Workplaze/login-actions/first-broker-login, with response status 500

Are the admin users in the same OU as the other users?
I had a similar issue when I didn’t have my LDAP looking at the correct level of my directory.