Hi Kirlos, as you can see from the response's message field, there are two elements (id and name) underneath, you need to append .id to specify the first search field for id, so change the "message.from" to "messsge.from.id" should solve this problem.
J
JasonL
@JasonL
Posts
-
-
You may write a pre-hook cloud code script with your validating logic and integrate it with
[TurnShieldOn()](https://getbraincloud.com/apidocs/apiref/?cloudcode#capi-matchmaking-turnshieldon)method. -
You can hook the script to brainCloud authentication API and check the
loginCountfrom the response, the related doc can be found here.
getMessagesPage with $or field not working probably
Limiting number of async matches
Execute script when new user is registered