Forum Discussion

Ananda_Wolfe's avatar
Ananda_Wolfe
Ideator I
7 months ago

'The given key '()' was not present in the dictionary.' Error

Wanted to provide a solution to an old post on here. In our situation, when this item presented, it was a missing item from one of the float codes, specifically for updates. This is a C#, server-side method.

Under the 'new Dictionary' item list, we added the missing item by its item type name and the name in which we would like to describe it--there should be others listed as well to model from.

Your switch(thisType) list should be consistent with the new Dictionary list below it as well.

After saving this method, your item should be able to save and float that information. If it does not, inspect other dictionary code lines in your float methods.

No RepliesBe the first to reply