Full Migration Error: not authorized on riskevaluation to execute command {***}
Scenarios
During real-time MongoDB-to-DDS migration, 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 riskevaluation 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.