error out if missing callback