An item with the same key has already been added. Key: 0

Status
Not open for further replies.

sc8807

Premier Customer
Joined
Aug 10, 2023
Messages
4
Reaction score
0
Hi,
Trying to cleanup the call costs list but getting follow error:

An item with the same key has already been added. Key: 0

Any ideas?

Thanks,

Stephane
 
Hi @sc8807 is this only when editing the call cost?

If so, have you checked if there is any duplicated prefix in your list?
 
Hi Alejandro_3CX yes there were duplicates, when I deleted all of them I get error 500

An item with the same key has already been added. Key: 0​

Not sure if there is a way around to delete this list so I can upload a fresh new one.
 
Can you export the list, delete the duplicated entries and upload the file one more time. Once done, restart the service 3cxdatabase server.
 
Export is fine. However when I delete all the duplicates and click ok to save changes it gives me this error An item with the same key has already been added. Key: 0 .

So I can't update the DB by deleting all duplicates. Everything what I do, ends up with this error.
 
I wonder if you are able to use the rest of the pbx features, like adding users, editing them, adding sip trunks, inbound rules, overall is everything ok? or do you have the same issue too?

is the pbx running version 18.0.8.917?

did you try clicking on the Cleanup button within the call cost menu?

1692406633398.png
 
Just updated to the latest version and when trying to cleanup I get the same error message.

Everything else works fine.
 
@sc8807 please kindly ask your 3CX Partner to open a technical support ticket with us, in this way we can gather the PBX logs check further the issue.

Thanks!
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet