am getting above error for the code, correct me if am wrong
Discussion posts and replies are publicly visible
That local variable seems to be a list type. Updatedictionary does not work with lists.