@Abdulrahman_almuhajir, could you please confirm if you are using Mongoose or not?

I moved your thread to Working with Data since your issue is not Atlas specific. I also add the tag mongoose-odm because NeNaD’s reply makes a lot of sense and it is a potential source of type mismatch.

Please try the suggestion

and if it works please mark NeNaD’s post as the solution.

1 Like