# Context missing in oneditcancel

**URL:** <https://discourse.nodered.org/t/context-missing-in-oneditcancel/54117>\
**Category:** Developing Nodes\
**Created:** [22 November 2021 16:02 UTC](https://discourse.nodered.org/t/context-missing-in-oneditcancel/54117 "2021-11-22T16:02:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dunken](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@Dunken](https://discourse.nodered.org/u/Dunken)\
**Post date:** [22 November 2021 16:02 UTC](https://discourse.nodered.org/t/context-missing-in-oneditcancel/54117/1 "2021-11-22T16:02:56Z")

</div>

I would like to call a REST endpoint in `oneditcancel` in order to clean-up resources in the backend (I created them via a button in this config-node). However, looks like I don't have access to any variables anymore (my `this` shows `id` only...)... do I miss something?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 January 2022 16:03 UTC](https://discourse.nodered.org/t/context-missing-in-oneditcancel/54117/2 "2022-01-21T16:03:30Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
