<@U04SE163WC8> I'm running an incremental syn from...
# ask-ai
i
@kapa.ai I'm running an incremental syn from Mongo to Bigquery but it is not working with this error: Warning from source: Command failed with error 13 (Unauthorized): 'not authorized on platform to execute command { aggregate: 1, pipeline:
k
The error message you're seeing indicates that the MongoDB user doesn't have the necessary permissions to execute the command. This is a common issue when the MongoDB user doesn't have the required roles or privileges. In MongoDB, you need to ensure that the user has the necessary roles to read from the database and execute commands. You can assign roles to a user in MongoDB using the
db.grantRolesToUser()
method. Unfortunately, the knowledge sources provided do not contain specific instructions or code for granting roles in MongoDB. I would recommend checking MongoDB's official documentation or reaching out to their support for more detailed guidance. If you're still facing issues, it might be helpful to share more details about your setup or any changes you've made recently. This could include information about the MongoDB user's roles and privileges, the specific command you're trying to execute, and the version of the MongoDB source connector you're using in Airbyte. For more detailed help, consider opening an issue in the [Airbyte GitHub repository](https://github.com/airbytehq/airbyte/issues) or asking a question in the [Airbyte community](https://discuss.airbyte.io/).