# Directory sync: Text connector: "USER/ERROR Index was outside the bounds of the array"

**URL:** <https://discuss.workflowgen.com/t/directory-sync-text-connector-user-error-index-was-outside-the-bounds-of-the-array/516>\
**Category:** Directory Management\
**Created:** [June 14, 2014, 1:46am UTC](https://discuss.workflowgen.com/t/directory-sync-text-connector-user-error-index-was-outside-the-bounds-of-the-array/516 "2014-06-14T01:46:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [June 14, 2014, 1:46am UTC](https://discuss.workflowgen.com/t/directory-sync-text-connector-user-error-index-was-outside-the-bounds-of-the-array/516/1 "2014-06-14T01:46:03Z")

</div>

When using directory synchronization with the Text connector you may receive the following error (displayed in the directory sync log):

`USER/ERROR Index was outside the bounds of the array.`

This error occurs when the users text file contains duplicate usernames or synchronization keys. You have to correct your file generation and relaunch a synchronization.
