Hello, We have issue with our last A/B test launc...
# ask-questions
b
Hello, We have issue with our last A/B test launch. It seems that even if we set those conditions for attribute targeting, users in France or India get the value inside the experiment... Is our syntax ok for the "or" condition :
Copy code
{
  "country_code": "US",
  "platform": "ios",
  "$or": [
    {
      "account_created_at": {
        "$exists": false
      }
    },
    {
      "account_created_at": {
        "$gte": "2024-02-09 11:00:00"
      }
    }
  ],
  "app_version": {
    "$gte": "4.23.00"
  }
}
f
@future-teacher-7046 thoughts?
f
Ah, I don't think you can have other targeting conditions at the same level as
$or
So for this, you would need to add an $and:
Copy code
{
  "$and": [
    {"$or":{...}},
    {...other targeting}
  ]
}
b
Thanks a lot 🙏 it's working now ! Maybe it could be great to add it to documentation 🙏