# Pre-user-registration throw "Extensibility error"

**URL:** <https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194>\
**Category:** Get Help\
**Tags:** extensibility, actions-extensibility, free-trial\
**Created:** [November 8, 2024, 12:38pm UTC](https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194 "2024-11-08T12:38:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![denaikG](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/denaikg/32/62047_2.png) [@denaikG](https://community.auth0.com/u/denaikG)\
**Post date:** [November 8, 2024, 12:38pm UTC](https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194/1 "2024-11-08T12:38:28Z")

</div>

I have added “Domain Based Registration” action to the pre-user-registration trigger. And it is work fine but last time it is always throw the “Extensibility error” in the registration flow. All other without any customisation.

In the logs inside Auth0 dashboard I found an exception that looks like:

```auto
{
  "action_name": "Domain Based Registration v1",
  "response": {
    "error": {
      "message": "Cannot read properties of undefined (reading 'split')",
      "name": "TypeError",
      "stack": "TypeError: Cannot read properties of undefined (reading 'split')\n at exports.onExecutePreUserRegistration (/data/io/node16/5357b479-0b08-40d2-85c6-29bb28e31743/webtask.js:5:46)\n at /data/io/0b8f48245cde1e21775f8deb6eaea6698910fb0a.js:5:857\n at processTicksAndRejections (node:internal/process/task_queues:96:5)"
    },
    "stats": {
      "action_duration_ms": 3
    }
  },
  "started_at": "2024-11-08T10:44:07.562Z",
  "ended_at": "2024-11-08T10:44:07.584741188Z"
}

```

As I understand it is something inside the action that was developed by Auth0.  
How can I fix that?

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [November 8, 2024, 3:14pm UTC](https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194/4 "2024-11-08T15:14:44Z")

</div>

Hi @denaikG

Welcome to the Auth0 Community!

Can you share the content of the Domain-Based Registration Configuration Action with me via DM?

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![denaikG](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/denaikg/32/62047_2.png) [@denaikG](https://community.auth0.com/u/denaikG)\
**Post date:** [November 8, 2024, 4:01pm UTC](https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194/5 "2024-11-08T16:01:48Z")

</div>

Hello. Yes, I can share it with you. But where I can do that? Can you write to me in DM?

---

<div class="post-metadata">

**Author:** ![anhht](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anhht/32/62223_2.png) [@anhht](https://community.auth0.com/u/anhht)\
**Post date:** [November 15, 2024, 12:29pm UTC](https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194/7 "2024-11-15T12:29:29Z")

</div>

I am facing the same problem.  
Have you done it?

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [November 15, 2024, 7:19pm UTC](https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194/8 "2024-11-15T19:19:53Z")

</div>

Hi @anhht,

Can you send me your account name and tenant name via DM? We are still investigating this issue.

Thanks  
dawid

---

<div class="post-metadata">

**Author:** ![anhht](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/anhht/32/62223_2.png) [@anhht](https://community.auth0.com/u/anhht)\
**Post date:** [November 15, 2024, 11:05pm UTC](https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194/10 "2024-11-15T23:05:58Z")

</div>

The problem is in the `Domain Based Registration v1` code. I replaced it with the custom code for checking domains, and the error has not occurred.

---

<div class="post-metadata">

**Author:** ![denaikG](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/denaikg/32/62047_2.png) [@denaikG](https://community.auth0.com/u/denaikG)\
**Post date:** [November 18, 2024, 8:57am UTC](https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194/11 "2024-11-18T08:57:43Z")

</div>

Yeah, I am totally agree with you. Can you share your custom code please?

---

<div class="post-metadata">

**Author:** ![denaikG](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/denaikg/32/62047_2.png) [@denaikG](https://community.auth0.com/u/denaikG)\
**Post date:** [November 19, 2024, 10:34am UTC](https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194/12 "2024-11-19T10:34:15Z")

</div>

> [@dawid.matuszczyk](#):
>
> still investigating this issue.

Do you have an estimate for when it will be fixed?

---

<div class="post-metadata">

**Author:** ![akamgm](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/akamgm/32/62417_2.png) [@akamgm](https://community.auth0.com/u/akamgm)\
**Post date:** [November 21, 2024, 4:12pm UTC](https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194/13 "2024-11-21T16:12:32Z")

</div>

Experiencing the same issue. The workaround is fine, but would love to understand more about the root cause and what the ETA for fixing the published DBR action is.

Thank you!

---

<div class="post-metadata">

**Author:** ![denaikG](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/denaikg/32/62047_2.png) [@denaikG](https://community.auth0.com/u/denaikG)\
**Post date:** [November 29, 2024, 2:18pm UTC](https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194/15 "2024-11-29T14:18:59Z")

</div>

Looks like the issue was fixed on the Auth0 side. But it would be nice if they let us know about this…

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [November 30, 2024, 12:43pm UTC](https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194/16 "2024-11-30T12:43:42Z")

</div>

Hi team,

After further investigation, we’ve identified the root cause of this bug, and the team fixed it. If you discover that this bug persists or reoccurs, please contact me as soon as possible.

Thanks!  
Dawid

---

<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:** [December 14, 2024, 12:44pm UTC](https://community.auth0.com/t/pre-user-registration-throw-extensibility-error/151194/17 "2024-12-14T12:44:05Z")

</div>

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