# Users Import / Export extension not working

**URL:** <https://community.auth0.com/t/users-import-export-extension-not-working/105022>\
**Category:** Get Help\
**Tags:** auth0-management-api-webhooks, extensions\
**Created:** [April 19, 2023, 12:02am UTC](https://community.auth0.com/t/users-import-export-extension-not-working/105022 "2023-04-19T00:02:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![joseph.stA](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@joseph.stA](https://community.auth0.com/u/joseph.stA)\
**Post date:** [April 19, 2023, 12:02am UTC](https://community.auth0.com/t/users-import-export-extension-not-working/105022/1 "2023-04-19T00:02:57Z")

</div>

Hi, I’m testing out the users import/export extension ([User Import / Export Extension](https://auth0.com/docs/manage-users/user-migration/user-import-export-extension)), and it’s failing even when I upload using the json content presented in this example. [Bulk User Import Database Schema and Examples](https://auth0.com/docs/manage-users/user-migration/bulk-user-import-database-schema-and-examples#basic-example)

 ![image](https://global.discourse-cdn.com/auth0/original/3X/5/2/52aebddcb8f9178bd21ffb59d6a6d51f3eae14df.png)

I don’t understand why that’s a bad request. What might be going on?

---

<div class="post-metadata">

**Author:** ![dva](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dva/32/50027_2.png) [@dva](https://community.auth0.com/u/dva)\
**Post date:** [January 30, 2024, 10:21pm UTC](https://community.auth0.com/t/users-import-export-extension-not-working/105022/3 "2024-01-30T22:21:39Z")

</div>

I’m having this same issue. I’m trying to use the [Auth0 User Import/Export Extension](https://auth0.com/docs/manage-users/user-migration/user-import-export-extension) to experiment with importing users from our database. I keep getting back “Oh snap! You got an error! An error occured while uploading the file: Bad Request”.

The problem I’m having is that there is no additional information I can use to debug the issue. Was my input file malformed? Is the service misconfigured? etc. I am able to successfully export users using the extension, so it doesn’t seem to be a problem with the extension’s connection to my tenant.

I tried formats like this:

```auto
[
  {
    "email": "...",
    "email_verified": true,
    "username": "<same as email>",
    "user_id": "...",
    "family_name": "Joe",
    "given_name": "User",
    "name": "Joe User",
    "password_hash": "$2b$10$<bcryptdata>"
  }
]

```

and also tried the sample from [this page](https://auth0.com/docs/manage-users/user-migration/bulk-user-import-database-schema-and-examples#basic-example):

```auto
[
  {
    "email": "john.doe@contoso.com",
    "email_verified": false,
    "app_metadata": {
        "roles": ["admin"],
        "plan": "premium"
    },
    "user_metadata": {
        "theme": "light"
    }
  }
]

```

Where can I see more detailed logs so I understand what’s going wrong?

---

<div class="post-metadata">

**Author:** ![dva](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dva/32/50027_2.png) [@dva](https://community.auth0.com/u/dva)\
**Post date:** [January 30, 2024, 10:40pm UTC](https://community.auth0.com/t/users-import-export-extension-not-working/105022/4 "2024-01-30T22:40:39Z")

</div>

I managed to use the Management API explorer to test the import via the API, and it returned a better error “Connection is not enabled”.  
I did not have any applications enabled for my username & password database connection, because we are using Organizations. After I enabled at least one application for the username & password database connection, I was able to complete the import.

---

<div class="post-metadata">

**Author:** ![fawzy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fawzy/32/60169_2.png) [@fawzy](https://community.auth0.com/u/fawzy)\
**Post date:** [September 9, 2024, 5:16am UTC](https://community.auth0.com/t/users-import-export-extension-not-working/105022/5 "2024-09-09T05:16:27Z")

</div>

@dva  
Thanks, that was helpful!  
it really sucks though that the import doesn’t provide clear error messages. it also sucks that no one from the auth0 team responded here!

---

<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:** [April 7, 2025, 5:33pm UTC](https://community.auth0.com/t/users-import-export-extension-not-working/105022/6 "2025-04-07T17:33:02Z")

</div>

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