{"action":"created","issue":{"url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/issues/6","labels_url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/issues/6/comments","events_url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/issues/6/events","html_url":"https://github.com/toymachiner62/node-mongo-seeds/issues/6","id":48343667,"number":6,"title":"Fix { [MongoError: Invalid Operation, No operations in bulk] name: 'MongoError' }","user":{"login":"toymachiner62","id":485782,"avatar_url":"https://avatars.githubusercontent.com/u/485782?v=3","gravatar_id":"","url":"https://api.github.com/users/toymachiner62","html_url":"https://github.com/toymachiner62","followers_url":"https://api.github.com/users/toymachiner62/followers","following_url":"https://api.github.com/users/toymachiner62/following{/other_user}","gists_url":"https://api.github.com/users/toymachiner62/gists{/gist_id}","starred_url":"https://api.github.com/users/toymachiner62/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toymachiner62/subscriptions","organizations_url":"https://api.github.com/users/toymachiner62/orgs","repos_url":"https://api.github.com/users/toymachiner62/repos","events_url":"https://api.github.com/users/toymachiner62/events{/privacy}","received_events_url":"https://api.github.com/users/toymachiner62/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-11-11T03:22:10Z","updated_at":"2015-04-23T08:05:15Z","closed_at":"2015-02-15T16:36:12Z","body":"Depending on what you're inserting, you can the error: `{ [MongoError: Invalid Operation, No operations in bulk] name: 'MongoError' }`\r\n\r\nNeed to figure out what is causing this and how to fix it."},"comment":{"url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/issues/comments/95484392","html_url":"https://github.com/toymachiner62/node-mongo-seeds/issues/6#issuecomment-95484392","issue_url":"https://api.github.com/repos/toymachiner62/node-mongo-seeds/issues/6","id":95484392,"user":{"login":"vodich","id":1666357,"avatar_url":"https://avatars.githubusercontent.com/u/1666357?v=3","gravatar_id":"","url":"https://api.github.com/users/vodich","html_url":"https://github.com/vodich","followers_url":"https://api.github.com/users/vodich/followers","following_url":"https://api.github.com/users/vodich/following{/other_user}","gists_url":"https://api.github.com/users/vodich/gists{/gist_id}","starred_url":"https://api.github.com/users/vodich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vodich/subscriptions","organizations_url":"https://api.github.com/users/vodich/orgs","repos_url":"https://api.github.com/users/vodich/repos","events_url":"https://api.github.com/users/vodich/events{/privacy}","received_events_url":"https://api.github.com/users/vodich/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T08:05:15Z","updated_at":"2015-04-23T08:05:15Z","body":"Anybody know if there is a way to check if there are operations in bulk before executing ? I am preety sure I don't send any empty objects but keep getting this error \"Invalid Operation, No operations in bulk\""}}