# Plugin Development: record.save() returns 404

**URL:** <https://meta.discourse.org/t/plugin-development-record-save-returns-404/88998>\
**Category:** Product Support\
**Created:** [June 2, 2018, 2:12pm UTC](https://meta.discourse.org/t/plugin-development-record-save-returns-404/88998 "2018-06-02T14:12:45Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [June 6, 2018, 3:11pm UTC](https://meta.discourse.org/t/plugin-development-record-save-returns-404/88998/5 "2018-06-06T15:11:12Z")

</div>

> [@kleinfreund](#):
>
> I am able to use **`routes`** as an endpoint (i.e. I’m doing `this.store.createRecord('route', ...)` and requests are being sent to `/routes` , `/routes/:route_id` , etc.). Though from what you say, it sounds logical to use a different name for the endpoint, right?

Your code is likely working because you defined a new `route` class, but that is a conflict with Ember’s route and setting yourself up for weird errors in the future. I highly recommend you use a different name for your model/endpoint.

> [@kleinfreund](#):
>
> Maybe I should write a tutorial on implementing basic data exchange using _the store_ (is there a better name for that?) for transferring data between client and server and _PluginStore_ for transferring data between application and persistent storage. That might be helpful for a few people.

Sure, more documentation is always great!

---

_[View the full topic](https://meta.discourse.org/t/plugin-development-record-save-returns-404/88998)._
