Adding Watchlists via the API will fail if unexpected unicode characters exist
search cancel

Adding Watchlists via the API will fail if unexpected unicode characters exist

book

Article ID: 290900

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

Updating watchlists via the API will fail with an error like: "UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal"

Environment

  • EDR Server: 6.x and Higher
  • CB API

Cause

SOLR query language does not support unrecognized Unicode characters

Resolution

Remove any Unicode characters from the API script before attempting to apply them via the API

Additional Information

API Documentation