# chosenID API Push Information

**URL:** <https://forum.api.combocurve.com/t/chosenid-api-push-information/131>\
**Category:** Uncategorized\
**Created:** [May 16, 2022, 8:39pm UTC](https://forum.api.combocurve.com/t/chosenid-api-push-information/131 "2022-05-16T20:39:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eduardomar](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@eduardomar](https://forum.api.combocurve.com/u/eduardomar)\
**Post date:** [May 16, 2022, 8:39pm UTC](https://forum.api.combocurve.com/t/chosenid-api-push-information/131/1 "2022-05-16T20:39:23Z")

</div>

Is there any additional information into chosenID field? I noticed I was trying to pass a string into it and it would delete blank spaces. Is there a character limit on this field as I am generating well sticks without API14s (the typical chosenID if using DI’s data)

---

<div class="post-metadata">

**Author:** ![carlos.pena](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.api.combocurve.com/carlos.pena/32/11_2.png) [@carlos.pena](https://forum.api.combocurve.com/u/carlos.pena)\
**Post date:** [May 16, 2022, 9:25pm UTC](https://forum.api.combocurve.com/t/chosenid-api-push-information/131/2 "2022-05-16T21:25:38Z")

</div>

The `chosenID` field only admits alphanumeric characters (i.e. English uppercase and lowercase letters, and digits). If you do a data import through the website, it will remove any other character automatically. When you import wells through the REST API, however, it should return an error for that well, and it won’t be inserted or updated. We try to be more strict with the validation in the REST API, and avoid any automatic behavior that could be unexpected for the user. We also have an additional validation in place in the API (we’re not doing it when using data import from the website) that the length of the `chosenID` can’t exceed 32 characters.

So, summarizing, when importing through the REST API, the `chosenID` must have a max length of 32 characters, and can only contain alphanumeric characters. If any of these validations fail, an error will be returned and the well will not be imported. When importing through the website, there is no length restriction, but it is also expected that it only contains alphanumeric characters. Any non-alphanumeric character will be silently removed from the `chosenID`, and the import will carry on successfully after doing that change.
