Failed Post User Registration Hook - Script generated an unhandled asynchronous exception


We have a Post User Registration Hook that makes 2 API calls to our backend service to create necessary user in our system. They have been working fine or if the api call fails it will throw a particular error indicating which call failed.

But recently we started getting
ExtensibilityImplementationError on post-user-registration: Script generated an unhandled asynchronous exception.
Instead of
ExtensibilityLogicError on post-user-registration: post-identity-error

Did anything change? or are we not handling the error correctly?
We also have