# Error: cannot POST https://\[tenant\].au.auth0.com/dbconnections/signup (400)

**URL:** <https://community.auth0.com/t/error-cannot-post-https-tenant-au-auth0-com-dbconnections-signup-400/56806>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [January 26, 2021, 11:25am UTC](https://community.auth0.com/t/error-cannot-post-https-tenant-au-auth0-com-dbconnections-signup-400/56806 "2021-01-26T11:25:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kientv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kientv/32/26795_2.png) [@kientv](https://community.auth0.com/u/kientv)\
**Post date:** [January 26, 2021, 11:25am UTC](https://community.auth0.com/t/error-cannot-post-https-tenant-au-auth0-com-dbconnections-signup-400/56806/1 "2021-01-26T11:25:48Z")

</div>

I already remove all rules & hooks, but still get this error when signup:

Request URL: `https://[tenant].au.auth0.com/dbconnections/signup`  
Request Method: `POST`  
Status Code: `400`  
Remote Address: `104.18.236.45:443`  
cf-request-id: `07e005f81f0000c6b8b3ba4000000001`

---

<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:** [January 26, 2021, 1:36pm UTC](https://community.auth0.com/t/error-cannot-post-https-tenant-au-auth0-com-dbconnections-signup-400/56806/3 "2021-01-26T13:36:49Z")

</div>

Hi @kientv,

When you go to your logs from your Auth0 dashboard, do you see the failed API call? There may be a helpful message there.

---

<div class="post-metadata">

**Author:** ![kientv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kientv/32/26795_2.png) [@kientv](https://community.auth0.com/u/kientv)\
**Post date:** [January 27, 2021, 2:28am UTC](https://community.auth0.com/t/error-cannot-post-https-tenant-au-auth0-com-dbconnections-signup-400/56806/4 "2021-01-27T02:28:13Z")

</div>

Thanks @stephanie.chamblee

This is my log in dashboard:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/3/a/3a58314c8f083a2a502b920a27d5391c54daf918.png)

`message: "{"fromSandbox":true,"statusCode":400}"`

---

<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:** [January 27, 2021, 3:38pm UTC](https://community.auth0.com/t/error-cannot-post-https-tenant-au-auth0-com-dbconnections-signup-400/56806/5 "2021-01-27T15:38:50Z")

</div>

I see, “Cannot read property ‘0’ of undefined”… Are you using Universal Login? Also, what SDK are you using?

---

<div class="post-metadata">

**Author:** ![kientv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kientv/32/26795_2.png) [@kientv](https://community.auth0.com/u/kientv)\
**Post date:** [January 28, 2021, 7:35am UTC](https://community.auth0.com/t/error-cannot-post-https-tenant-au-auth0-com-dbconnections-signup-400/56806/6 "2021-01-28T07:35:59Z")

</div>

I’m using universal login.

---

<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:** [January 28, 2021, 2:55pm UTC](https://community.auth0.com/t/error-cannot-post-https-tenant-au-auth0-com-dbconnections-signup-400/56806/7 "2021-01-28T14:55:58Z")

</div>

Does this occur when you use the “Try it out” link from the “Getting Started” tab in your dashboard?

Would you mind sending me your tenant name in a private message so that I can take a look at the settings? 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:** [January 30, 2021, 11:27am UTC](https://community.auth0.com/t/error-cannot-post-https-tenant-au-auth0-com-dbconnections-signup-400/56806/8 "2021-01-30T11:27:29Z")

</div>

To follow up, we were able to find the solution in a DM conversation!

The “Cannot read property ‘0’ of undefined” was thrown because of a custom DB get-users script.

Updated a line from `user = body.items[0]` to `user = body.items.length && body.items[0]`

---

<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 14, 2021, 11:28am UTC](https://community.auth0.com/t/error-cannot-post-https-tenant-au-auth0-com-dbconnections-signup-400/56806/9 "2021-02-14T11:28:05Z")

</div>

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