COMNN-722:Adding Error Messages to create a Error Response