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

Thanks @taka :slight_smile:
However, does anyone know how to customize the error message in the error snackbar ?
When using @taka solution in a lifecycle hook, the error is thrown as expected but the error message in the snackbar is as usual: “Warning Alert: Bad request”… Is there a way to customize this message to give more details to the user ? I can’t find a solution for strapi v4 :confused:

2 Likes