Error when creating a bad message