Hi there! It seems the mongodb connector is broken...
# help-connector-development
t
Hi there! It seems the mongodb connector is broken trying to read the system.profile collection (errMsg:"FieldPath field names may not start with '$'.") Wondering if anyone has a workaround.
k
A message from kapa.ai
Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the [Airbyte MongoDB documentation](https://docs.airbyte.com/integrations/sources/mongodb-v2) for more information on configuring and using the MongoDB connector. If you still face issues, consider opening a [GitHub issue](https://github.com/airbytehq/airbyte/issues/new?assignees=&labels=type%2Fbug%2C+needs-triage&template=bug-report.md&title=) to report the problem and get assistance from the Airbyte team.
t
The aggregation is
Copy code
pipeline: [ { $limit: 10000 }, { $project: { _id: 0, fieldType: { $type: "$command.$db" } } }, { $group: { _id: { fieldType: "$fieldType" }, count: { $sum: 1 } } } ], cursor: {}, $db: "DBNAME", lsid: { id: UUID("6a497bb0-943c-4555-ab49-5d48a7a0dd83") } }
I think the issue here is that it can scan the system collections if the user has access.
I enabled access on only the one table and it works