7 Days to Die | ArgumentException: An element with the same key already exists in the dictionary

If you receive the following error in the logs on your server, you may have a corrupted Power.dat file, please try the steps listed below. 

ArgumentException: An element with the same key already exists in the dictionary.
at System.Collections.Generic.Dictionary`2[Vector3i,PowerItem].Add (Vector3i key, .PowerItem value) [0x00000] in <filename unknown>:0 
at PowerManager.AddPowerNode (.PowerItem node, .PowerItem parent) [0x00000] in <filename unknown>:0 
at PowerManager.Read (System.IO.BinaryReader br) [0x00000] in <filename unknown>:0 
at PowerManager.LoadPowerManager () [0x00000] in <filename unknown>:0 
at GameManager+<StartAsServer>c__Iterator2.MoveNext () [0x00000] in <filename unknown>:0 
at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0

1. Stop your server.

2. Go to File Manager\Saves\WorldName\YourGameName
3. Locate the Power.dat file and click the globe beside it to download a copy. (for backup purposes)
4. Tick the box to the left of the Power.dat file
5. Click Delete (on the bar near the top)
6. Start your server and check the logs to see if the error returns.
7. If the error doesn't return then try connecting to the server.

If you can connect and all seems good then you may get rid of the downloaded Power.dat file. If the error comes back you can upload the Power.dat file back to the server as it was likely not the issue.

If this is not the fix or you are not comfortable trying this, please submit a support ticket, and we can help.

Looking for a game server host known for brilliant 24/7 customer support and quality hardware?
Try a Pingperfect 7 Days to Die server today! https://pingperfect.com/gameservers/7dtd-7days-to-die-server-hosting.php
  • 7 Days to Die ArgumentException: An element with the same key al, 7 Days to Die ArgumentException An element with the same key alr, An element with the same key already exists in the dictionary, 7 Days to Die, 7 days to die, 7dtd, 7DTD
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

7 Days to Die | Delete a player from the server

In the file manager under Saves and your world, there is a Players.xml file and a Player folder....

7 Days to Die | I cant find my server / Modded server list

In 7DTD there are several server lists, Standard, Modded, Peer, Friends, History and LAN below is...

7 Days to Die | Roll back to older than current version

Click "Steam Beta Update" enter alpha<version number>    example:  alpha16.1 Click...

7 Days to Die | Stuck in dying state when connecting onto server

You should have someone else who is connected on the server remove your bedroll. This will then...

7 Days to Die | How to: Webmap permissions Alloc's fixes

You will first need to install Alloc's server fixes from the mod manager, make sure you choose...