I am able to get that it's something related to invalid index value but here I'm not able to get why it's saying "'data' of type Text" in the error where "data" in the datasubset is a type of Dictionary not text?
Discussion posts and replies are publicly visible
Can you provide further context, like what you're querying and where you're later attempting to refer to the query result? Going by only what I can see here, i'd have to guess (and my guess would be that your query is returning an empty set, not even a datasubset, and you're attempting to refer to a nonexistent ".data" property within it).
Thanks Mike, I'm simply trying to retrieve data from datasubset using queryentity and I got the issue is with it returning empty set. But why it refers ".data" property as "text" in the error which is of "dictionary" type.
I'm not sure why, but from experience I know that this error language is typically seen when trying to reference a dot property into a dictionary that doesn't contain that property. This is why it would be helpful to get some more context as to your query and the interface in which you're trying to use it.