While executing a CouchDB query with the $in option , it results in error.

400 Client Error: Bad Request bad_arg Bad argument for operator $in: <<91,,,107,34,93>>

The query being used is

{u'$and': [{u'messageContent.component': {u'$in': 
u'["AccountMock","AccountMock"]'}}, {u'messageContent.teamId': {u'$in': 
u'["mockteam-3-1","123"]'}}, {u'messageContent.userId': {u'$in': 
u'["mockuser-3-1","mockuser-2-1"]'}}, {u'messageContent.messageType': 
{u'$in': u'["Creating Mock Account","Creating"]'}}, 
{u'messageContent.subcomponent': {u'$in': 
u'["CreateAccountMock","Create Account"]'}}]}

Please suggest ways to get over this.

0

There are 0 best solutions below