CB-6162 Show a better error message when publish fails the whitelist