Invalid container with segment | Community
Skip to main content
New Participant
January 19, 2024
Solved

Invalid container with segment

  • January 19, 2024
  • 1 reply
  • 1486 views

Hi everyone,

When , I try to Create segment . I am getting a error  " Invalid container with segment ".

Can anyone tell me , how to rectify this, can anyone tell me?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jennifer_Dungan

I have tried , It just throwing me same error . 

I have a doubt can we have metric and dimension together in page 


First off, at Visitor scope what you have written doesn't have to be on the same page (the Visitor can hit the dimension, then hit the event later, or hit the event then the dimension after that.. they don't even have to be in the same visit...).

 

 

However, you absolutely, 100% can have dimensions and events on the same page or action, this is the power of the Adobe Analytics model. I always create segments that look specifically at hits that have both.

 

 

Just in case you are missing something, can you take a screenshot? Because what you have described is definitely valid.

 

Here is a sample in my own suite, showing that the segment as described is valid:


I wasn't sure if you had just the segment at "Visitor" scope, or a container inside of that at Visitor Scope, but in this simple case, the result is the same (both are clearly valid and returning values):

 

 

 

1 reply

Jennifer_Dungan
New Participant
January 19, 2024

Hi @sa30 ,

 

You will have to share a screenshot of your segment logic / build, or describe very accurately what scope, containers and logic are all being used (a screenshot is much easier to provide), for us to have any chance of helping you... we cannot fix, what we cannot see.

 

Odds are you are using logic which conflicts with the scope, but seeing it exactly would allow us to tell you what needs to be fixed.

 

Also, since it sounds like you are creating a complex segment, describing the intended result of your segment will help us make additional suggestions.

SA30Author
New Participant
January 19, 2024

Hi jennifer,

I have used Visitor scope segment in the touch point

Visitor Container

[

Chat Started(metrics) exist

 

AND 

 

Chat name(dimension)  equals    Ki-sm

]

when I try to use this it shows error

Jennifer_Dungan
New Participant
January 19, 2024

Well on the surface, that looks valid to me.... you don't happen to have an extra empty container there that just needs to be deleted?

 

This is going to sound crazy.. but sometimes I've found that a segment can get corrupted while building them... so can you try creating a new segment, with this logic (don't try editing/fixing the one you have open)...