Skip to main content
Solved

Unexpected error 'the given key was not present in the dictionary'

  • February 4, 2026
  • 1 reply
  • 25 views

Forum|alt.badge.img+2

We have a TW application where occasionally we get an ‘unexpected error', and the only way to recover after that, seems to restart the app after this error.
 

 

  • It occurs when pressing a specific button
  • It is NOT reproducible on command
  • It can go 1x wrong and (after app restart) 10x OK without error, pressing the same button
  • the error occured in different installation environments (Development and Deployed at customer)
  • the app is using the Windows GUI
  • it occured in TW 2022.2 and TW 2024.2

We would very much like to solve this error.
Can anyone give us a solution direction?

Best answer by Tim de Lang

Hi ​@Wilfred Bossenbroek ,

Could you please report a ticket for this?

Could you please add to the ticket whether all validations pass. If they do not, please also note if there are validations related to this action.

Kind regards,

Tim de Lang

1 reply

Tim de Lang
Moderator
Forum|alt.badge.img+4
  • Moderator
  • Answer
  • February 5, 2026

Hi ​@Wilfred Bossenbroek ,

Could you please report a ticket for this?

Could you please add to the ticket whether all validations pass. If they do not, please also note if there are validations related to this action.

Kind regards,

Tim de Lang