chat with error messaging