# Login Fail after Sign Up

**URL:** <https://community.auth0.com/t/login-fail-after-sign-up/117013>\
**Category:** Get Help\
**Tags:** apis, application\
**Created:** [September 24, 2023, 12:45am UTC](https://community.auth0.com/t/login-fail-after-sign-up/117013 "2023-09-24T00:45:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dudumonteiro](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dudumonteiro/32/35891_2.png) [@dudumonteiro](https://community.auth0.com/u/dudumonteiro)\
**Post date:** [September 24, 2023, 12:45am UTC](https://community.auth0.com/t/login-fail-after-sign-up/117013/1 "2023-09-24T00:45:45Z")

</div>

I have a custom database with custom logn/create/get User scripts.

The regular login works.  
But if I do a sign up, the user gets created but then an error happens and the Universal login form prompts again.

Here is the error:

```auto
{
  "date": "2023-09-24T00:33:23.445Z",
  "type": "f",
  "description": "Internal error",
  "connection_id": "",
  "client_id": " ***********",
  "client_name": " ********",
  "ip": "2804:14c:5bb1:5c37:611c:a35e:ee3f:89b1",
  "user_agent": "Chrome 117.0.0 / Windows 10.0.0",
  "details": {
    "body": {
      "state": "hKFo2SByUlhRbEwyNV9ja0loSTczQTh6YVZfc2tHelZfUEhNSqFur3VuaXZlcnNhbC1sb2dpbqN0aWTZIHdDVVlIelk1ZEg1VDVMRWUyb2oyOHZoTzBaNTI2N0oxo2NpZNkgRllCTXJ2U3RxUFNvS0lzR2JDWE9rWEhMUDdGaWc4MEs",
      "strengthPolicy": "none",
      "complexityOptions.minLength": "1",
      "username": "gas",
      "email": "gas@gmail.com",
      "password": " *****",
      "action": "default"
    },
    "qs": {},
    "error": {
      "message": "Internal error",
      "oauthError": "Internal error",
      "type": "server_error",
      "uri": null
    },
    "session_id": "8tEfxfTpztj4lRULkQkFJCgHL7thLlSJ",
    "riskAssessment": null
  },
  "hostname": " *********.us.auth0.com",
  "log_id": "90020230924003323487087000000000000001223372052172484312",
  "_id": "90020230924003323487087000000000000001223372052172484312",
  "isMobile": false,
  "id": "90020230924003323487087000000000000001223372052172484312"
}

```

Can someone help?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [September 27, 2023, 12:52pm UTC](https://community.auth0.com/t/login-fail-after-sign-up/117013/3 "2023-09-27T12:52:41Z")

</div>

Hi @dudumonteiro,

Welcome to the Auth0 Community!

Are you seeing any errors when you use the “Save and Try” function in the _Create_ Database Action Script?

 ![Screenshot 2023-09-27 at 8.52.34 AM](https://global.discourse-cdn.com/auth0/original/3X/6/c/6c2a5c3894d77f1b08c63a50597118ab5e3c1adc.png)

---

<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 26, 2023, 2:23pm UTC](https://community.auth0.com/t/login-fail-after-sign-up/117013/4 "2023-10-26T14:23:31Z")

</div>

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