Closed kpfromer closed 7 years ago
@kpfromer it looks like you have everything set up right. I tested your code and I'm not getting any errors. That particular error is caused by a unique index error with mongodb. Did you by chance add a unique index to one of your model properties earlier?
Thanks for the fast response, I dropped the database and it now works. It must have been an issue with changing scope settings. Thanks!
I am having troubles adding a new model object to the appy server. I am creating a new simple model called
models/task.model.js
And I then authenticate myself using the superadmin account and create a task like by posting the following
And I get this error
What am I doing wrong?
Thanks, Kyle Pfromer