Hello,

The error message “insert requires --write Mode” indicates that the BI Connector is not configured to handle write operations by default. The MongoDB Connector for BI is primarily designed for read operations, allowing you to query MongoDB data using SQL. Unfortunately, it does not support write operations directly1. This is why you’re seeing the error when attempting to insert data. To perform write operations, you would need to use MongoDB’s native drivers or another method that supports CRUD operations. Here are a few steps you can take:

Use MongoDB Native Drivers: Consider using MongoDB’s native drivers for your programming language to handle write operations. These drivers are designed to support full CRUD functionality.
Alternative Tools: If you need to use SQL for both read and write operations, you might need to look into other tools or frameworks that can bridge SQL and MongoDB more effectively.
Feature Request: If write operations via the BI Connector are crucial for your project, you can submit a feature request to MongoDB

I hope this info helpful to you.