Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception while invoking method 'Mongol_update' Error: Meteor requires document _id fields to be non-empty strings or ObjectIDs #107

Open
Telokis opened this issue Oct 26, 2017 · 1 comment

Comments

@Telokis
Copy link

Telokis commented Oct 26, 2017

I have an error whenever I try to update a document from mongol in my meteor app.

Exception while invoking method 'Mongol_update' Error: Meteor requires document _id fields to be non-empty strings or ObjectIDs keeps showing up and the object is not updated.

Here is the object I try to update:

{
  "_id": {
    "_str": "59f1cf4fd021a74dab40d5b4"
  },
  "id": "dd29b4bd-8124-4031-a827-e9813947ff4d",
  "value": 0,
  "date": "2017-10-26T12:04:46.148Z"
}

Here is the list of all meteor packages I currently have:

blaze-html-templates   1.1.2  Compile HTML templates into reactive UI with Meteor Blaze
ecmascript             0.8.3  Compiler plugin that supports ES2015+ in all .js files
es5-shim               4.6.15  Shims and polyfills to improve ECMAScript 5 support
meteor-base            1.1.0  Packages that every Meteor app needs
meteortoys:allthings   4.0.0  Insanely Handy Development Tools
meteortoys:toggle      4.0.0  An on-screen toggle to open Meteor Toys
mobile-experience      1.0.5  Packages for a great mobile user experience
mongo                  1.2.2  Adaptor for using MongoDB and Minimongo over DDP
msavin:mongol          4.0.1  In-App MongoDB Editor.. now with improved third party package compatibility.
react-meteor-data      0.2.13* React higher-order component for reactively tracking Meteor data
reactive-var           1.0.11  Reactive variable
session                1.1.7  Session variable
shell-server           0.2.4  Server-side component of the `meteor shell` command.
standard-minifier-css  1.3.5  Standard css minifier used with Meteor apps by default.
standard-minifier-js   2.1.2  Standard javascript minifiers used with Meteor apps by default.
tracker                1.1.3  Dependency tracker to allow reactive callbacks```
@Telokis
Copy link
Author

Telokis commented Oct 26, 2017

Here is a picture in case it might help. http://prntscr.com/h2bbcf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant