Hi All,

I am currently working on fixing any errors with keycloak and the airavata
API, and I am stuck with this error and was hoping anyone would have
experience with this bug and how to fix it.

When attempting to log into the django portal with the admin account I
created in keycloak, I get this error:

Login failed: UserProfileServiceException(message='Error while finding user
profile. More info : An error occurred while parsing the query filter
"SELECT u FROM UserProfileEntity u where u.userId LIKE :userId AND
u.gatewayId LIKE :gatewayId". Error message: The name "UserProfileEntity"
is not a recognized entity or identifier. Perhaps you meant
GatewayProfileEntity, which is a close match. Known entity names:
[ComputeResourceEntity, UserResourceProfileEntity, LocalDataMovementEntity,
GlobusGkEndpointEntity, ParserOutputEntity, TaskEntity,
ExperimentSummaryEntity, TaskErrorEntity,

I believe this error is originating from QueryConstants.java in
profile-service but I am unable to get past it. I have tried rebuilding the
maven build in the related folders, and I have also confirmed that the db
is set up properly and that the migration scripts ran. I am building the
project in Java 17 and have set up keycloak to use 24.0.0 based on pom.xml.

Please let me know if you have experience with this error,

Krish Katariya

Reply via email to