ember-cli-101-errata
ember-cli-101-errata copied to clipboard
delete friend
Everything was working up to editing a friend. But I typed in the code from pg 43 and 44 for deleting a friend and now I get "Could not find friends.index template or view" error and nothing shows up in the friends. What could be wrong and how do I fix it?
I deleted the code the for delete friend and now that error is gone. I put in the code for delete again and now
I get an adapter error.
Error: Ember Data Request DELETE /friends/70 returned a 500
Payload (Empty Content-Type)
[object Object]
at AdapterError.EmberError (vendor.js:29828)
at AdapterError (vendor.js:79096)
at Class.handleResponse (vendor.js:80728)
at ajaxError (vendor.js:81226)
at Class.hash.error (vendor.js:80800)
at fire (vendor.js:3519)
at Object.fireWith [as rejectWith] (vendor.js:3649)
at done (vendor.js:9091)
at XMLHttpRequest.
It's not just you. Even if you execute a delete operation using a rest client pointing to api.ember-101.com/friends/10 you get the response: {"errors":[{"title":"Internal Server Error","detail":"Internal Server Error","id":null,"href":null,"code":"500","source":null,"links":null,"status":"500","meta":null}]}
I am having this same issue! Any resolutions?
Me too, anyone find a work around???
this issue is not fixed, correct? i still get the error ---- edit ---- The answer you can only delete records you made yourself The records that are already in the api are not allowed to be deleted