Rohan | #1328 | Fixed the treatment error message to not show the server error for custom error messages