Skip to main content
Specialist
Nov 26, 2023 4:44 PM UTC
Question

An item with the same key has already been added Error is showing in rescanning the module in the DEX Server Machine!

Hi, 

I am rescanning a module on the Dex Machine. And it is showing me this error message while the rescanning went well on my local machine. 

This is the error message,

 

Let me kindly ask for your suggestions and help in solving this.

 

Thank you in advance for your help!

    3 replies

    Space Cadet
    Dec 21, 2023 8:48 AM UTC

    Hi, 

    have you found a solution for this error? I have recently received the same message and don’t know how to handle. The recreation of this module is just a temporary workaround. 

     

    Thanks, 

    Florian

    Prasanth Nalam
    Specialist
    Apr 5, 2024 3:13 PM UTC

    Hello All,

    We encountered a similar issue while scanning the SAP GUI Module. Upon investigation, we discovered that an additional screenshot had been manually attached to the module, resulting in a total of two attachments. Upon removing the newly added screenshot, the error never occurred.

    Note: This error only occurs when we are working with SAP modules. We have not encountered this issue with other applications, regardless of the number of screenshots present.

    Prasanth Nalam, SAP Test Automation Expert
    Space Cadet
    Apr 8, 2024 6:28 AM UTC

    In our case, the cause of the problem was found in a different part. The UniqueID of the module meant that a rescan was no longer possible. 
    The workaround was as follows: Create a new module at a suitable location using a rescan. Then merge the new module with the damaged one. The new module has a new UniqueID and can therefore be used again without any problems.