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:

Thank you for reviewing :slight_smile:

Hey @sthabti

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