Question

MongoDB: how to get the _id?


Badge

Hi all,

I am doing my first steps with FME.

I am trying to read a MongoDB collection using the Mongo reader. To retreive the unique document identifier _id, I use the mongodb_id format attribute. Is it correct?

Then when data are loaded, this attribute does not seem well encoded:

Id (encoded: utf-8): ??{y?q?M????z?'

How to fix this?

Many thanks for your help!


3 replies

Badge

Hi @ac_ac, could you post some logs, and a workspace if possible?

Badge

Hi @ac_ac, could you post some logs, and a workspace if possible?

Dear @jakemolnar

 

 

Many thanks for your interest on my question.

 

 

Please find the logs:

 

mongotoverticajdbc-log.txt

 

 

And workspace:

 

mongotoverticajdbc.fmw

 

 

 

 

Badge

Dear @jakemolnar,

Are the provided file correct?

Many thanks, best regards.

Reply