[License/Dependeny Scanning] Error fetching the dependency list. Please check your network connection and try again.

Hello, using Gitlab EE Ultimate-Trial (16.2.2EE) with License and Dependency scanning results in the following error.Capture https://gitlab.onprem.com/GROUP/PROJECT/-/dependencies

Erroneous URL from browser console: https://gitlab.onprem.com/GROUP/PROJECT/-/dependencies.json?sort_by=severity&sort=desc&page=1&filter=all

Result in Server Error 500.

==> gitlab-rails/production.log <==

ActiveRecord::StatementInvalid (PG::UndefinedFunction: ERROR:  operator does not exist: smallint = text
LINE 1: ...R JOIN "pm_packages" ON "pm_packages"."purl_type" = "needed_...
                                                             ^
HINT:  No operator matches the given name and argument types. You might need to add explicit type casts.
):

Fulllog:Logfile.log

Maybe related to: gitlab-com/gl-infra/readiness#74 (closed) #382567 #341977 (closed)

Is there any solution to solve this on the database?

Edited by XeroX