We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ef3de2 commit 1be0a1eCopy full SHA for 1be0a1e
1 file changed
lib/sdk/server-ai/src/main/java/com/launchdarkly/sdk/server/ai/internal/ResumptionTokens.java
@@ -150,10 +150,10 @@ private static Decoded parseJson(String json) {
150
}
151
152
153
- if (runId == null) {
+ if (runId == null || runId.isEmpty()) {
154
throw new IllegalArgumentException("Resumption token missing required field 'runId'");
155
156
- if (configKey == null) {
+ if (configKey == null || configKey.isEmpty()) {
157
throw new IllegalArgumentException("Resumption token missing required field 'configKey'");
158
159
if (version == null) {
0 commit comments