# Rules not triggering

**URL:** <https://community.auth0.com/t/rules-not-triggering/33616>\
**Category:** Get Help\
**Tags:** rules, auth0\
**Created:** [November 11, 2019, 3:45pm UTC](https://community.auth0.com/t/rules-not-triggering/33616 "2019-11-11T15:45:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephen2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephen2/32/12715_2.png) [@stephen2](https://community.auth0.com/u/stephen2)\
**Post date:** [November 11, 2019, 3:45pm UTC](https://community.auth0.com/t/rules-not-triggering/33616/1 "2019-11-11T15:45:11Z")

</div>

I have three separate environments - 2 out 3 environments(function properly) trigger rules when a user registers or logins (SPA 2 API). Unfortunately the 3rd environment rules aren’t triggered. A user is successfully added to the Auth0 db though, however, no rules aren’t subsequently triggered. (I have no custom db, just using Auth0 db) I’ve applied the debuggers with console logs and nothing is processed.

Something I’ve missed perhaps, I’m literally guessing what the issue could be with no output to logs…

Any ideas?

---

<div class="post-metadata">

**Author:** ![ashish](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ashish/32/7056_2.png) [@ashish](https://community.auth0.com/u/ashish)\
**Post date:** [November 12, 2019, 12:13am UTC](https://community.auth0.com/t/rules-not-triggering/33616/2 "2019-11-12T00:13:21Z")

</div>

Might be stupid to ask but just to be sure, rules on the 3rd environment are `enabled` right?

Also sign ups doesn’t necessarily mean login so another thing I would check is if the auto login after singup is enabled.

---

<div class="post-metadata">

**Author:** ![stephen2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephen2/32/12715_2.png) [@stephen2](https://community.auth0.com/u/stephen2)\
**Post date:** [November 12, 2019, 3:33pm UTC](https://community.auth0.com/t/rules-not-triggering/33616/3 "2019-11-12T15:33:52Z")

</div>

Yes the rules are enabled.

---

<div class="post-metadata">

**Author:** ![ashish](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ashish/32/7056_2.png) [@ashish](https://community.auth0.com/u/ashish)\
**Post date:** [November 12, 2019, 10:27pm UTC](https://community.auth0.com/t/rules-not-triggering/33616/4 "2019-11-12T22:27:39Z")

</div>

without access to your app and/or tenant it is hard to give any suggestion. Can you try capturing HAR file and attach here? [Generate and Analyze HAR Files](https://auth0.com/docs/troubleshoot/har) You should upload one from the working environment and one from the not working one.

Failing that I would disable all rules and enable just one with a simple console.log statement to check again.

---

<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:** [January 8, 2024, 8:21am UTC](https://community.auth0.com/t/rules-not-triggering/33616/5 "2024-01-08T08:21:22Z")

</div>

Hey there!

As this topic is related to Rules - Hooks - Actions and Rules & Hooks are being deprecated soon, I’m excited to let you know about our next [Ask me Anything session in the Forum on Thursday, January 18 with the Rules, Hooks and Actions team](https://community.auth0.com/t/auth0-community-ask-me-anything-rules-hooks-and-why-actions-matter/124043) on Rules & Hooks and why Actions matter! Submit your questions in the thread above and our esteemed product experts will provide written answers on January 18. Find out more about Rules & Hooks and why Actions matter! Can’t wait to see you there!

[Learn more here!](https://community.auth0.com/t/auth0-community-ask-me-anything-rules-hooks-and-why-actions-matter/124043)
