# \#database-action-scri

**URL:** https://community.auth0.com/tag/database-action-scri/875.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [How to Debug Custom Database Action Scripts](https://community.auth0.com/t/how-to-debug-custom-database-action-scripts/77548)

<div class="topic-metadata">

**Author:** [@erik.griffin](https://community.auth0.com/u/erik.griffin)\
**Replies:** 1\
**Last updated:** [February 4, 2022, 10:05pm UTC](https://community.auth0.com/t/how-to-debug-custom-database-action-scripts/77548 "2022-02-04T22:05:47Z")

</div>

Hi, I am building an Action Script to test the automatic migration of our existing users to the Auth0 database. I have followed the steps to set this process up, and have built my action script for Login. When running…

---

## [Get client original API address in a custom login action script](https://community.auth0.com/t/get-client-original-api-address-in-a-custom-login-action-script/35022)

<div class="topic-metadata">

**Author:** [@petriv.roma](https://community.auth0.com/u/petriv.roma)\
**Replies:** 7\
**Last updated:** [December 23, 2019, 10:00pm UTC](https://community.auth0.com/t/get-client-original-api-address-in-a-custom-login-action-script/35022 "2019-12-23T22:00:28Z")

</div>

Hi, have a custom database connection with a custom login action script, like described here https://auth0.com/docs/connections/database/custom-db/templates/login. I want to get user original IP address and send it to my…

---

## [How to change the 20 seconds default value timeout for Database Action Scripts?](https://community.auth0.com/t/how-to-change-the-20-seconds-default-value-timeout-for-database-action-scripts/7900)

<div class="topic-metadata">

**Author:** [@billy](https://community.auth0.com/u/billy)\
**Replies:** 1\
**Last updated:** [August 29, 2017, 6:45pm UTC](https://community.auth0.com/t/how-to-change-the-20-seconds-default-value-timeout-for-database-action-scripts/7900 "2017-08-29T18:45:12Z")

</div>

We have a service that sometimes takes more than 20 seconds to response. We are receiving this message: Script execution did not complete within 20 seconds. Are you calling the callback function? For example, inside of…
