# How can we allow sign-ups while enabling Automatic Migration?

**URL:** <https://community.auth0.com/t/how-can-we-allow-sign-ups-while-enabling-automatic-migration/77783>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [February 7, 2022, 10:49am UTC](https://community.auth0.com/t/how-can-we-allow-sign-ups-while-enabling-automatic-migration/77783 "2022-02-07T10:49:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yasunori.mahata](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yasunori.mahata/32/32487_2.png) [@yasunori.mahata](https://community.auth0.com/u/yasunori.mahata)\
**Post date:** [February 7, 2022, 10:49am UTC](https://community.auth0.com/t/how-can-we-allow-sign-ups-while-enabling-automatic-migration/77783/1 "2022-02-07T10:49:50Z")

</div>

I’m trying to import users from an existing platform with [Automatic Migration](https://auth0.com/docs/manage-users/user-migration/configure-automatic-migration-from-your-database) while allowing new users to sign-up. It seems the Automatic Migration part is working well, but when users try to sign up, Auth0 is throwing an error that says “Request to Webtask exceeded allowed execution time”. I wonder if it’s because I enabled the “Import Users to Auth0” flag for my tenant. (By the way, the “Disable Sign-Ups” flag is turned off in the Database setting)

 ![current-auth0-setting](https://global.discourse-cdn.com/auth0/original/3X/2/a/2a087d2061018b23fc33e70abedf60fa3ffd1c81.png)

Is my understanding correct? If so, what’s the recommended way to import users with Automatic Migration while allowing new sign-ups?

Thanks!

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [February 7, 2022, 2:55pm UTC](https://community.auth0.com/t/how-can-we-allow-sign-ups-while-enabling-automatic-migration/77783/2 "2022-02-07T14:55:51Z")

</div>

Hi @yasunori.mahata

This probably means your get\_user script is timing out. You need both the login and the get\_user scripts to work.

When a new user registers, Auth0 must check with the legacy DB (via the get\_user script) to make sure they don’t exist. That is the source of the timeout.

John

---

<div class="post-metadata">

**Author:** ![yasunori.mahata](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yasunori.mahata/32/32487_2.png) [@yasunori.mahata](https://community.auth0.com/u/yasunori.mahata)\
**Post date:** [February 8, 2022, 5:53am UTC](https://community.auth0.com/t/how-can-we-allow-sign-ups-while-enabling-automatic-migration/77783/3 "2022-02-08T05:53:15Z")

</div>

Hi @john.gateley, thanks for your support!

You are right. My Get User script wasn’t able to handle emails that weren’t available in the legacy DB. My bad… 🤦‍♂️ I was testing the script with only the valid emails and couldn’t nail down the problem by the error message.

Thanks again John! You saved my day 😄

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 8, 2022, 12:29pm UTC](https://community.auth0.com/t/how-can-we-allow-sign-ups-while-enabling-automatic-migration/77783/4 "2022-02-08T12:29:06Z")

</div>

Teamwork makes the dreamwork!

---

<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:** [February 27, 2022, 11:26am UTC](https://community.auth0.com/t/how-can-we-allow-sign-ups-while-enabling-automatic-migration/77783/6 "2022-02-27T11:26:29Z")

</div>

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