Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Problem tmongodbrow "renameCollection may only be run against the admin database." , "code" : 13 , "codeName" : "Unauthorized"

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 

Labels (3)
1 Reply
FDS1
Contributor
Contributor

Hello.

 

I'm running into the same problem.

 

Did you find a solution?

 

Thanks!