Pre-registration Hook async error (http call )

Hi all,

I have a simple pre-registration hook that makes a post http request to an API and mainly tells the other system an account has been created, and we get by a system uuid.

I am handling the error scenarios and everything works in the hooks editor.

the error I am seeing is as such:

“description”: “ExtensibilityImplementationError on pre-user-registration: Script generated an unhandled asynchronous exception.”,

I am not sure why this would happen, I can show the code, but it looks like something like:
example code: https://gist.github.com/sabeurthabti/18a90abfb8f269cf414151e55c6bb974

Thank you for reviewing :slight_smile:

Hey @sthabti

Have you used the real-time webtask logs extension to figure out what is going on?

John

1 Like

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 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!