Bug with .setPropertyParameters() for Dropdown Control
This method seems to generate a "Duplicate item names are not allowed" error when using an array where an index is a substring of another index. This example specifically triggers it: ["HeadTop", "Head", "HeadBottom"]; will not be accepted by the method (the "Head" index seems to throw it off) - But: ["HeadTop", "HeadMiddle", "HeadBottom"] will be accepted.

As noted below, this issue is fixed as of After Effects version 17.5.1.
- John, After Effects Engineering Team
-
Hi Charlie,
This bug has been fixed in the latest Beta builds. Please take a look at Beta builds with a version of 17.5.1.37 or higher and let us know if you are still experiencing the issue.
Cheers,
- John, After Effects Engineering -
Hi Charlie,
Thanks very much for filing this report. An internal ticket has been filed linked to this issue and the team will be taking a look at it.
Thanks again,
- John, After Effects Engineering