You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The H1 in this topic is "List group members". If you add a table in the introduction (which we are doing as part of an effort to put national cloud support into the docs), the table gets parsed as an enumeration table in FindDecoderFromHeaderText.
Sequence of events:
lastHeaderText is List group members
this.CommonHeaderContentMap[4] has a key with the value {x} members
The else if (kvp.Key.Contains("{x}")) clause is satisifed
commonHeaderContent then becomes members
lastHeader.EndsWith(commonHeaderContent) then becomes true
Code thinks that List is a type since it's the word right before members
Validation error: Failed to parse enumeration values for type microsoft.graph.list. Table requires a column header named one of the following: Member, Name, Value
The text was updated successfully, but these errors were encountered:
This seems to be an issue with the code that tries to guess a table "shape" from the section title the table is in.
For example, this topic: https://learn.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0&tabs=http.
The H1 in this topic is "List group members". If you add a table in the introduction (which we are doing as part of an effort to put national cloud support into the docs), the table gets parsed as an enumeration table in
FindDecoderFromHeaderText
.Sequence of events:
lastHeaderText
isList group members
this.CommonHeaderContentMap[4]
has akey
with the value{x} members
else if (kvp.Key.Contains("{x}"))
clause is satisifedcommonHeaderContent
then becomesmembers
lastHeader.EndsWith(commonHeaderContent)
then becomes trueList
is a type since it's the word right beforemembers
Failed to parse enumeration values for type microsoft.graph.list. Table requires a column header named one of the following: Member, Name, Value
The text was updated successfully, but these errors were encountered: