Client Request Error in Auth0 Actions Due to Uncaught Exception

Overview

This article explains why the following error message may appear in tenant logs for failed authentication requests when using Actions as part of the authentication flow:

Client request error: Container terminated due to an exception while handling this request

Applies To

  • Actions

Cause

An uncaught exception in the custom code is triggered, which blocks the login flow.

Solution

To address this issue, refer to the Error Handling Best Practices documentation.