Either a boxID or a portalID must be set.