Help Center/ Data Replication Service/ Troubleshooting/ Failure Cases/ Real-Time Migration from MongoDB to DDS/ Full or Incremental Migration Error: Invalid BSON field name XXX
Updated on 2022-09-21 GMT+08:00

Full or Incremental Migration Error: Invalid BSON field name XXX

Scenarios

During real-time migration from MongoDB to DDS, an error is reported during full or incremental migration. The log information is as follows: service DATAMOVE failed, cause by: apply event=[type=table_data, batch_index_in_shard={***}, table_schema={***}, table_name={***}, record_num={***}] occur error, msg=Invalid BSON field name {***}

Possible Causes

The field contains invalid characters, such as periods (.) and dollar signs ($).

Solution

Check and remove invalid symbols in the source database. In the task list, locate the target task and click Resume in the Operation column to resume the task.