Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segment Group requirements don't validate properly #452

Open
johnsmclay opened this issue Jan 26, 2022 · 1 comment
Open

Segment Group requirements don't validate properly #452

johnsmclay opened this issue Jan 26, 2022 · 1 comment

Comments

@johnsmclay
Copy link

We are trying to use the "Segment Group" action to add traits to groups of users (like the company level as opposed to individual users). We are specifying 2 columns, the field tagged with "segment_group_id" and another field, like the total count of orders from that particular company/group. When we submit it via the segment group action we get errors saying "Query requires a field tagged email or user_id or segment_anonymous_id." Even though the message clearly shows that the request was for "looker-integration://1::segment_group" and segment_group only requires the tagged field "segment_group_id":
https://github.com/looker/actions/blob/0269d92b6d9b23930dca4d7e4568e497dd786948/src/actions/segment/segment_group.ts#L6-L12

The error:
image

We tried adding a user_id field just for giggles, and that changed the error to:
image

But groupId was in there, in addition to the user_id field.

@brettmstevens7
Copy link

brettmstevens7 commented Jul 21, 2022

We're running into this issue too. The Segment Group call isn't working via a job with segment_group_id as a field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants