Need help on checking if a cookie exists in the response

BLOCK:Keycheck
  KEYCHAIN FAIL OR
    STRINGKEY @data.COOKIES["COOKIEID"] DoesNotExist ""
  KEYCHAIN SUCCESS OR
    STRINGKEY @data.COOKIES["COOKIEID"] Exists ""
ENDBLOCK

This is what I have. It works if the COOKIEID is exists in the response. But if it doesn’t, I get an error instead of a FAIL.

chrome_eIarEw6e71

remove the FAIL check?

That’s not how you check the presence of cookies. You need to use a DICTKEY instead of STRINGKEY and you can do DICTKEY @data.COOKIES HasKey "COOKIEID"

Let me try that out right now.