Wraps DateTimeParseException from Instant.parse in IllegalArgumentException so the controller maps it to 400. Also rejects cursors with empty instance_id (trailing '|') which would otherwise produce a vacuous keyset predicate.
Wraps DateTimeParseException from Instant.parse in IllegalArgumentException so the controller maps it to 400. Also rejects cursors with empty instance_id (trailing '|') which would otherwise produce a vacuous keyset predicate.