Catch parse JSON error in CLIAPI1