Hello,
I am evaluating FME for a project but have hit a hurdle trying to write to a MongoDB database. I have put together a very simple workspace that reads data from an Excel file and dumps it into MongoDB. When I run it, I get the following error:
MONGODB writer: Existing feature type 'rawData' does not contain an attribute matching the schema attribute 'customerId'. Attributes named 'customerId' on incoming features will not be written to the existing feature type
I get the same error for each attribute that I have defined. The writer succeeds in creating the collection and populating it with documents, but all the documents only have the '_id' field set.
On the writer, I've set Attribute Definition to Automatic and also given the collection name under the General tab. Otherwise I've left the defaults.
Am I missing something?
,Hello,
I am evaluating FME for a project and put together a simple workspace that pulls data from an Excel spreadsheet and dumps them into a MongoDB collection. When I run it, I get errors like this:
MONGODB writer: Existing feature type 'rawData' does not contain an attribute matching the schema attribute 'customerId'. Attributes named 'customerId' on incoming features will not be written to the existing feature type
I get an error like this for every single attribute. The resulting MongoDB collection contains a bunch of documents (one for each row in the Excel sheet) whose only defined field is _id. Under User Attributes on the writer, I've set Attribute Definition to Automatic. I've also set the Collection name under the General tab to the already existing empty collection. Everything else is Default. Is there something I'm missing?