all strings to publish api should not be null or empty