Full Migration Error: not authorized on *** to execute command {***}
Scenarios
During real-time migration from MongoDB to DDS, an error is reported during full migration. The log information is as follows: service DATAMOVE failed, cause by: apply event=[type=table_data, batch_index_in_shard=1, table_schema=***, table_name=***, record_num=2720] occur error, msg=Command failed with error 13 (Unauthorized): 'not authorized on *** to execute command {***}.
Possible Causes
The migration account used by DRS does not have the write permission on the destination database.
Solution
- Grant the destination database write permission to the DRS migration account. For details, see the MongoDB official documents or DDS user guide.
- After the adjustment is complete, click Resume in the Operation column to resume the task.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot