When trying to create a cohort the user gets a failed error message.
The first error message says:
rg.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar
Then goes on to list the sql code used to generate the cohort.
There are two other error messages:
Call getNextException to see the cause.
as well as:
java.sql.BatchUpdateException: Batch entry 2
After looking on the forums one recommendation is to export the SQL and run it all individually, this was done and all the commands worked as expected and the cohort with the correct ID can be found in the cohort table.
Any help or other information would be greatly appreciated.
Best,
Alex