Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Am trying to rename a mongodb collection in talend studio 6.4 and i have this
json sting == > { renameCollection: '"oldname"' , to: '"newname"' , dropTarget: true }
error msg: ==> [ERROR]: - tMongoDBRow_1 - Error result: { "serverUsed" : "00.00.00.00:00000" , "ok" : 0.0 , "errmsg" : "renameCollection may only be run against the admin database." , "code" : 13 , "codeName" : "Unauthorized"}
The user is connected to admin database and he has all abilities to update ....
The script work in mongodb shell
Hello.
I'm running into the same problem.
Did you find a solution?
Thanks!