cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Invoke-Neo4jAdmin : An item with the same key has already been added

From JS (react js) I am trying to execute following shell command

neo4j-admin copy --from-database=copy --to-database=copy2
(refer attached snap of code - Capture11)

but getting error following error

error: Command failed: neo4j-admin copy --from-database=copy --to-database=copy2
Invoke-Neo4jAdmin : An item with the same key has already been added.
At C:\Users\HP.Neo4jDesktop\relate-data\dbmss\dbms-7a738fb3-f330-4f3e-96f3-7b1e8f1bd64e\bin\neo4j-admin.ps1:13 char:7

  • Exit (Invoke-Neo4jAdmin -Verbose:$Arguments.Verbose -CommandArgs $Arg ...

  • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException

  • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-Neo4jAdmin
    (refer attached snap of error - Capture10)

Note : Same command is working fine when executing from terminal


0 REPLIES 0