Anyone have an idea why a search would give me thi...
# suitescript
b
Anyone have an idea why a search would give me this error in sandbox, but not in production?
Copy code
{
  "type": "error.SuiteScriptError",
  "name": "SSS_INVALID_SRCH_OPERATOR",
  "message": "An nlobjSearchFilter contains an invalid operator, or is not in proper syntax: name."
}
Here is a snippet for the search:
Copy code
var itemSearch = search.create({
            type: "item",
            filters: [
                ["name", "is", sku], "AND",
                ["pricing.pricelevel", "anyof", "6"], "AND",
                ["pricing.minimumquantity", "lessthanorequalto", String(quantity)]
            ],