The default_error_transformer should return the error object, not raise it. The with_provider_response wrapper handles the error and wraps it in a Response object. Co-authored-by: jjmata <187772+jjmata@users.noreply.github.com>