# Users-exports returning 404

**URL:** <https://community.auth0.com/t/users-exports-returning-404/58599>\
**Category:** Get Help\
**Created:** [February 26, 2021, 3:13pm UTC](https://community.auth0.com/t/users-exports-returning-404/58599 "2021-02-26T15:13:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![wes.sorensen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wes.sorensen/32/14589_2.png) [@wes.sorensen](https://community.auth0.com/u/wes.sorensen)\
**Post date:** [February 26, 2021, 3:13pm UTC](https://community.auth0.com/t/users-exports-returning-404/58599/1 "2021-02-26T15:13:15Z")

</div>

Hello,

I didn’t see an answer anywhere, so I figured I’d post my question. I’m trying to use the users-exports endpoint and am consistently getting a 404. We have our own Auth0 appliance, running 2009.2 (we will be updating again soon but couldn’t during our critical period).

All seems to be correct, but it acts like it can’t find the endpoint. Here’s my call from Postman, with masked data:

curl --location --request POST ‘https://..com/api/v2/jobs/users-exports’   
–header ‘content-Type: application/json’   
–header ‘Authorization: Bearer \<mgmt\_token\>’   
–header ‘Content-Type: text/plain’   
–header ‘Cookie: ’   
–data-raw ‘{“connection\_id”: “”, “format”: “json”, “limit”: 5, “fields”: [{“name”: “email”}, { “name”: “identities[0].connection”, “export\_as”: “provider” }]}’

Anyone have any idea why I can’t find the endpoint?

Thanks!

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [February 26, 2021, 8:52pm UTC](https://community.auth0.com/t/users-exports-returning-404/58599/2 "2021-02-26T20:52:07Z")

</div>

Hi @wes.sorensen,

Welcome to the Community!

The URL looks correct from what I can see. Are you able to get a non 404 for other Management API endpoints?

Have you tried to send `Content-Type: application/json` instead of `text/plain`?

---

<div class="post-metadata">

**Author:** ![ricardo.batista](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ricardo.batista/32/7711_2.png) [@ricardo.batista](https://community.auth0.com/u/ricardo.batista)\
**Post date:** [February 26, 2021, 9:08pm UTC](https://community.auth0.com/t/users-exports-returning-404/58599/4 "2021-02-26T21:08:39Z")

</div>

Hi @wes.sorensen

The endpoint [POST /api/v2/jobs/users-exports](https://auth0.com/docs/api/management/v2#!/Jobs/post_users_exports) is currently not yet supported on PSaaS environments.

The alternative for the private cloud environments is to use the [GET /api/v2/users](https://auth0.com/docs/api/management/v2#!/Users/get_users) endpoint or the [User Import / Export Extension](https://auth0.com/docs/extensions/user-import-export-extension).

---

<div class="post-metadata">

**Author:** ![wes.sorensen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wes.sorensen/32/14589_2.png) [@wes.sorensen](https://community.auth0.com/u/wes.sorensen)\
**Post date:** [February 26, 2021, 9:22pm UTC](https://community.auth0.com/t/users-exports-returning-404/58599/5 "2021-02-26T21:22:39Z")

</div>

Ah, that makes total sense now. Thank you!  
I currently pull users down using the GET /api/v2/users so I’ll continue with that. Any idea when it will be supported?

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [February 26, 2021, 9:32pm UTC](https://community.auth0.com/t/users-exports-returning-404/58599/6 "2021-02-26T21:32:59Z")

</div>

Fwiw `/users-exports` support for PSaaS is supposed to be introduced this quarter.

---

<div class="post-metadata">

**Author:** ![wes.sorensen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wes.sorensen/32/14589_2.png) [@wes.sorensen](https://community.auth0.com/u/wes.sorensen)\
**Post date:** [March 2, 2021, 3:01pm UTC](https://community.auth0.com/t/users-exports-returning-404/58599/7 "2021-03-02T15:01:06Z")

</div>

So quick follow-up question. Our PSaaS will be retiring user search v2 when we upgrade to May 2021. In preparation for that, I switched my queries to use search\_engine=v3. Unfortunately, now I can’t pull back all users programmatically since it limits it to 1000 total results.

I guess I can wait until the end of the quarter (per markd) to have the /users-exports available to me, but checking to see if there’s another way of exporting a large number of users?

---

<div class="post-metadata">

**Author:** ![markd](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/markd/32/38919_2.png) [@markd](https://community.auth0.com/u/markd)\
**Post date:** [March 3, 2021, 9:39pm UTC](https://community.auth0.com/t/users-exports-returning-404/58599/8 "2021-03-03T21:39:56Z")

</div>

Unfortunately, there are no other options at this time. One of my team members built a hack to “page” through the user data by doing time-boxed searches based on profile creation dates.

---

<div class="post-metadata">

**Author:** ![wes.sorensen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wes.sorensen/32/14589_2.png) [@wes.sorensen](https://community.auth0.com/u/wes.sorensen)\
**Post date:** [March 4, 2021, 8:59pm UTC](https://community.auth0.com/t/users-exports-returning-404/58599/9 "2021-03-04T20:59:49Z")

</div>

Thanks. Yes, I was thinking how I could page through by setting search criteria. Unfortunately, we recently migrated all users from our old prod tenant to our new prod tenant, so everyone has the same create\_date. Maybe by chunking up the email address or something…

---

<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:** [March 19, 2021, 9:00pm UTC](https://community.auth0.com/t/users-exports-returning-404/58599/10 "2021-03-19T21:00:38Z")

</div>

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