####-##-## ##:##:##,443 | DEBUG | pool-jetty-7039254 | SamlAuthenticationSuccessHandler | Login failure details for user [email protected] | requestId=################,request=POST https://vcd.example.com/cloud/org/exampleOrg/saml/SSO/alias/vcd,requestTime=1578910987410,remoteAddress=
...
org.hibernate.exception.SQLGrammarException: could not execute query
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.loader.Loader.doList(Loader.java:2231)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2125)
at org.hibernate.loader.Loader.list(Loader.java:2120)
...
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near ")"
Position: 136
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2477)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2190)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:300)
at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:428) ####-##-## ##:##:##.712 UTC [29273] ERROR: syntax error at or near ")" at character 136
####-##-## ##:##:##..712 UTC [29273] STATEMENT: /* Method: unknown */ /* criteria query */ select count(*) as y0_ from grp this_ where this_.source_id=$1 and this_.name_in_source in ()VMware Cloud Director 10.x
Follow the steps below to resolve the issue :
Import the required users and groups by following the guidance in the Managing Users, Groups and Roles section of the vCloud Director documentation.
Note: If the same user has different usernames, for example username or username@vcd.example.com, the username with which the SAML login is carried out should be imported with a role assigned to it. Alternatively a group where the correct username is present should be imported into vCloud Director prior to login.