# Leading ' character in users-exports CSV results

**URL:** <https://community.auth0.com/t/leading-character-in-users-exports-csv-results/91002>\
**Category:** Get Help\
**Tags:** api, management-api, auth0\
**Created:** [September 20, 2022, 10:20pm UTC](https://community.auth0.com/t/leading-character-in-users-exports-csv-results/91002 "2022-09-20T22:20:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![drew.umlang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/drew.umlang/32/36319_2.png) [@drew.umlang](https://community.auth0.com/u/drew.umlang)\
**Post date:** [September 20, 2022, 10:20pm UTC](https://community.auth0.com/t/leading-character-in-users-exports-csv-results/91002/1 "2022-09-20T22:20:23Z")

</div>

Hello, I’m currently calling [/api/v2/jobs/users-exports](https://auth0.com/docs/api/management/v2#!/Jobs/post_users_exports) in order to generate a CSV of user emails, names, logins, and other attributes. The API call is working as intended however the CSV result i’m downloading seems to be appending a ’ to every entry. I’ve included an example below

 ![Screen Shot 2022-09-20 at 3.13.40 PM](https://global.discourse-cdn.com/auth0/original/3X/5/c/5c7a70f355c3dcb0e6e8196f8da9d261042403e0.png)

Is this expected behavior? None of these fields should have this leading character so i’m not sure where it’s coming from.

---

<div class="post-metadata">

**Author:** ![gparascandolo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gparascandolo/32/38788_2.png) [@gparascandolo](https://community.auth0.com/u/gparascandolo)\
**Post date:** [September 21, 2022, 1:53pm UTC](https://community.auth0.com/t/leading-character-in-users-exports-csv-results/91002/2 "2022-09-21T13:53:03Z")

</div>

Hi @drew.umlang , this is expected behavior for the CSV results as part of an update made by Auth0. See more details in the Auth0 changelog here - [Bulk User Exports: Updated User-Export CSV data format](https://auth0.com/changelog#25CSs4pq46tpAL3oLZ0HJR)

> The Bulk User Export will now escape string data types in the CSV export file. This is in conformance with OWASP standards for CSV injection mitigation. To ensure the content is read as text:
> 
> - Double quote characters are prepended with a double quote character.
> - Each string is prepended with a single quote character.
> - Each string is wrapped in double quotes.
> 
> This does not apply to dates in ISO 8601 format.
> 
> Check out our [technical documentation](https://auth0.com/docs/users/import-and-export-users/bulk-user-exports#find-export-data) to learn more about bulk user exports.

---

<div class="post-metadata">

**Author:** ![drew.umlang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/drew.umlang/32/36319_2.png) [@drew.umlang](https://community.auth0.com/u/drew.umlang)\
**Post date:** [September 21, 2022, 3:58pm UTC](https://community.auth0.com/t/leading-character-in-users-exports-csv-results/91002/3 "2022-09-21T15:58:06Z")

</div>

Thank you for the link and clarification!

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [September 30, 2022, 8:10pm UTC](https://community.auth0.com/t/leading-character-in-users-exports-csv-results/91002/4 "2022-09-30T20:10:43Z")

</div>

thank you @gparascandolo for helping with this topic! 👍

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 14, 2022, 8:10pm UTC](https://community.auth0.com/t/leading-character-in-users-exports-csv-results/91002/5 "2022-10-14T20:10:53Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
