Jackson Error while running the script


Can someone help me to get rid of this error while running the script?

jsonPath($.oStatus.sStatus).find.is(OK) preparation crashed: Jackson failed to parse into a valid AST: c.f.j.c.JsonParseException: Unexpected character (’<’ (code 60)): expected a valid value (JSON String, Number, Array, Object or token ‘null’, ‘true’ or ‘false’) at [Source: (io.netty.buffer.ByteBufInputStream); line: 1, column: 2]


I don’t think you need to have .find before is method. assuming the json path is correct, just try the following. Hopefully it works for you.