# Form failure: The context path is either empty or undefined

**URL:** <https://forum.camunda.io/t/form-failure-the-context-path-is-either-empty-or-undefined/15929>\
**Category:** Discussion & Questions\
**Tags:** cockpit, admin\
**Created:** [October 30, 2019, 11:29am UTC](https://forum.camunda.io/t/form-failure-the-context-path-is-either-empty-or-undefined/15929 "2019-10-30T11:29:13Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![nikola.koevski](https://forum.camunda.io/user_avatar/forum.camunda.io/nikola.koevski/32/3462_2.png) [@nikola.koevski](https://forum.camunda.io/u/nikola.koevski)\
**Post date:** [October 30, 2019, 12:46pm UTC](https://forum.camunda.io/t/form-failure-the-context-path-is-either-empty-or-undefined/15929/4 "2019-10-30T12:46:05Z")

</div>

@ChandruM, in that case, one theory that I have is that you’re using the wrong reference type ([https://docs.camunda.org/manual/7.11/user-guide/task-forms/#embedded-task-forms](https://docs.camunda.org/manual/7.11/user-guide/task-forms/#embedded-task-forms)):

- When using `embedded:app:` you’re supposed to use the `@EnableProcessApplication` annotation since this tells the engine that the form is stored in a separate archive deployed on the shared Process Engine. (this is how the behavior is defined for Shared Engine deployments).
- If you’re working with a non `ProcessApplication` deployment, you should use `embedded:deployment:` since this tells the engine that the form is stored in the database.

If this doesn’t help, then I would ask if you can provide an example project that replicates the issue, so I can reproduce it on my side.

Best,  
Nikola

---

_[View the full topic](https://forum.camunda.io/t/form-failure-the-context-path-is-either-empty-or-undefined/15929)._
