Closed tatu-at-datastax closed 6 days ago
(note: found from Splunk logs)
Looks like there is stack trace like:
"stackTrace":": java.lang.IllegalArgumentException: password cannot be empty\n\tat com.datastax.oss.driver.internal.core.util.Strings.requireNotEmpty(Strings.java:269)\n\tat com.datastax.oss.driver.api.core.auth.ProgrammaticPlainTextAuthProvider.<init> (ProgrammaticPlainTextAuthProvider.java:80)\n\tat com.datastax.oss.driver.api.core.auth.ProgrammaticPlainTextAuthProvider.<init> (ProgrammaticPlainTextAuthProvider.java:63)\n\tat
wherein we pass empty String as token, and internal validator throws IllegalArgumentException, resulting in 500 response (ErrorCode. SERVER_UNHANDLED_ERROR). Let's validate credential before attempting to use.
IllegalArgumentException
(note: found from Splunk logs)
Looks like there is stack trace like:
wherein we pass empty String as token, and internal validator throws
IllegalArgumentException
, resulting in 500 response (ErrorCode. SERVER_UNHANDLED_ERROR). Let's validate credential before attempting to use.