This is a problem with quote handling when defining named values in HOCON configuration. String values may need to be double-quoted (using both double-quotes and single quotes together) in the configuration due to usage context.
For example, this is correct for supplying a substitution value as part of a string constant:
streamBase = {
constantsOverwrite = {
"NAMECON" = "'prefix-${NAMESUB:-VALUE_FROM_CONF}-suffix'"
}
}
This will raise the above error (missing interior single quotes):
streamBase = {
constantsOverwrite = {
"NAMECON" = "prefix-${NAMESUB:-VALUE_FROM_CONF}-suffix"
}
}