Search api bug with assignee.any

Please read this before posting

  • If you received an error from the API that you’re looking for help with, please include the error in your post and be descriptive of the requests you made that received the errors. To be clear, we need the error in the JSON response from the API, not the error your code raised.
  • Do not share any API credentials. Please check that the code you’re pasting into the post does not contain any real OAuth tokens or personal access tokens. If you have exposed credentials, you should revoke them immediately.

The task without assignee.any exists in the return json.

Here is the input
GET /workspaces/629872854386125/tasks/search?opt_fields=assignee&completed_on.after=2021-10-24&completed_on.before=2021-11-23&assignee.any=1171607727304569

Here is the output

{
  "data": [
    {
      "gid": "1201385086019883",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201385086019877",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201385086019907",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201385086019897",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201385086019891",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201300064376762",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201392077981504",
      "assignee": {
        "gid": "1166148349148346",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201371592815418",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201370023486640",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201370023486641",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201370023486637",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201370023486631",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201370023486625",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201370023486623",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201370023486621",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201267481664670",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201267481664674",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680269",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680263",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680253",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680247",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680241",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201267481664666",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201267481664662",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680243",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201132875112897",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680230",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201300064211040",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201267481664689",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201267481664695",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201267481664703",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201349803778822",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201284072161562",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201300000109909",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201267481664724",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201101394704872",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201321776056076",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201321776056078",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201267481664711",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201267481664720",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201267481664682",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201308806863825",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1200995366016523",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201300062495075",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201300108366504",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201255847598294",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201222692935750",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1200699572961349",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1200894972419967",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201300064144321",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201211523012683",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1200946121182045",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201100706065837",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201300107744056",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201299999905705",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201300063646609",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201300064334835",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201300064354209",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201240464999402",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680232",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680234",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680238",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680236",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201267481664647",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1200995366016533",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1200995366016535",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201059334966863",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201111034784201",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201111034784203",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201111034784205",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201111034784207",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680275",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680279",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680283",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680324",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680338",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201111034784209",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1200995366016504",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201267743532672",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1200995365362728",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201111034784223",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201111034784227",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1200995365362726",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201111034784225",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201059334966849",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680316",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201200372680304",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201111034784195",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201111034784189",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201111034784181",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201059334966873",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201059334966865",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201059334966857",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201059334966851",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1200995366016517",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1200995366016508",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1200995365362718",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    },
    {
      "gid": "1201003894342009",
      "assignee": {
        "gid": "1171607727304569",
        "resource_type": "user"
      }
    }
  ]
}