komentify / meteor-comments-ui

Simple templates for comment functionality in your Meteor App
MIT License
76 stars 40 forks source link

Cannot retrieve Comment Count #127

Open fitset-development opened 7 years ago

fitset-development commented 7 years ago

When trying to retrieve comment count, this is the error I get. What do I do? I am running Meteor 1. 4.2.3

Exception while simulating the effect of invoking 'comments/count' errorClasserrorType: "Match.Error"message: "Match error: Failed Match.OneOf, Match.Maybe or Match.Optional validation"path: ""sanitizedError: errorClass {error: 400, reason: "Match failed", details: undefined, message: "Match failed [400]", errorType: "Meteor.Error", …}stack: "Error: Match error: Failed Match.OneOf, Match.Maybe or Match.Optional validation↵ at exports.check (http://localhost:3000/packages/check.js?hash=63d7478b74cadc04d378bc2266ea8bd1bf6849d8:67:15)↵ at verifyUserData (http://localhost:3000/packages/arkham_comments-ui.js?hash=dfc7e9692aae5bf000da638768e7b288dbcf312f:4427:3)↵ at ns.Collection.CommentsCollection.getCountForReferenceId (http://localhost:3000/packages/arkham_comments-ui.js?hash=dfc7e9692aae5bf000da638768e7b288dbcf312f:952:14)↵ at DDPCommon.MethodInvocation.commentsCount (http://localhost:3000/packages/arkham_comments-ui.js?hash=dfc7e9692aae5bf000da638768e7b288dbcf312f:677:33)↵ at http://localhost:3000/packages/ddp-client.js?hash=bc32a166cd269e06a394f9418e0024d805bab379:3973:25↵ at Meteor.EnvironmentVariable.withValue (http://localhost:3000/packages/meteor.js?hash=e3f53db3be730057fed1a5f709ecd5fc7cae1229:1077:17)↵ at Connection.apply (http://localhost:3000/packages/ddp-client.js?hash=bc32a166cd269e06a394f9418e0024d805bab379:3964:54)↵ at Connection.call (http://localhost:3000/packages/ddp-client.js?hash=bc32a166cd269e06a394f9418e0024d805bab379:3840:17)↵ at http://localhost:3000/packages/arkham_comments-ui.js?hash=dfc7e9692aae5bf000da638768e7b288dbcf312f:4357:19↵ at new Promise ()"proto: Error Error: Match error: Failed Match.OneOf, Match.Maybe or Match.Optional validation at exports.check (http://localhost:3000/packages/check.js?hash=63d7478b74cadc04d378bc2266ea8bd1bf6849d8:67:15) at verifyUserData (http://localhost:3000/packages/arkham_comments-ui.js?hash=dfc7e9692aae5bf000da638768e7b288dbcf312f:4427:3) at ns.Collection.CommentsCollection.getCountForReferenceId (http://localhost:3000/packages/arkham_comments-ui.js?hash=dfc7e9692aae5bf000da638768e7b288dbcf312f:952:14) at DDPCommon.MethodInvocation.commentsCount (http://localhost:3000/packages/arkham_comments-ui.js?hash=dfc7e9692aae5bf000da638768e7b288dbcf312f:677:33) at http://localhost:3000/packages/ddp-client.js?hash=bc32a166cd269e06a394f9418e0024d805bab379:3973:25 at Meteor.EnvironmentVariable.withValue (http://localhost:3000/packages/meteor.js?hash=e3f53db3be730057fed1a5f709ecd5fc7cae1229:1077:17) at Connection.apply (http://localhost:3000/packages/ddp-client.js?hash=bc32a166cd269e06a394f9418e0024d805bab379:3964:54) at Connection.call (http://localhost:3000/packages/ddp-client.js?hash=bc32a166cd269e06a394f9418e0024d805bab379:3840:17) at http://localhost:3000/packages/arkham_comments-ui.js?hash=dfc7e9692aae5bf000da638768e7b288dbcf312f:4357:19 at new Promise ()