User not assigned to the client application error

i have created an oidc web application using node js .everything is working fine if the “EVERYONE” group is assigned to the app.but when i am adding users individually or through the groups i have created ,i am receiving an error response from the api showing that user is not assigned to the client app ,even though i have assigned it to the user.please reply if anyone got solution for this issue