Throw Error message in lifecycle hook doesnt change the error message display in the UI

This approach works with Strapi version 4.13.3

throw new utils.errors.ApplicationError(‘Custom error message’);

Upgrade your Strapi version and it’ll start working

1 Like