Hi,
I'm a casual user of Arduino compatible devices, including those which use the latest generation of microcontrollers like the Atmel SAMD platform. You have not posted enough information here for anyone to understand the problem you are having. You need to provide:
* The exact source code you are trying to run;
* 2 or 3 example documents;
* The full stack trace you are getting.
Without the above, it will be very difficult for anyone to really help you. Some might offer guesses -- but won't be able to reproduce your issue without the source code, example documents, and stack trace.
The screen shots you are posting are extremely hard to read. Can you please post actual text inside <code> tags?
I would be curious to have a description of how exactly you are using the Arduino device. What device exactly are you using?
Are you attempting to use MicroPython or Adafruit.com's CircuitPython? Those only work on certain hardware devices and I do not believe there is a supported MongoDB driver for those languages.
An Arduino device by itself cannot directly connect to an external database through software. Most use cases for an Arduino are to have it collect sensor data, which is then captured by another device as text information, and which is then reformatted on the capturing device and added to a database in an independent process from the Arduino. So it is important to describe how you are using an Arduino here -- unless, of course, there is no actual flow of data from an Arduino to MongoDB in your use case.
Please understand that I am not an employee of MongoDB, Inc. I'm just another user attempting to help you.
Thanks so much
Bob