# Error embedded form

**URL:** <https://forum.camunda.io/t/error-embedded-form/18283>\
**Category:** Discussion & Questions\
**Tags:** cockpit, admin\
**Created:** [February 27, 2020, 5:44pm UTC](https://forum.camunda.io/t/error-embedded-form/18283 "2020-02-27T17:44:52Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![oronzo\_lezzi](https://forum.camunda.io/user_avatar/forum.camunda.io/oronzo_lezzi/32/9017_2.png) [@oronzo\_lezzi](https://forum.camunda.io/u/oronzo_lezzi)\
**Post date:** [February 27, 2020, 5:44pm UTC](https://forum.camunda.io/t/error-embedded-form/18283/1 "2020-02-27T17:44:52Z")

</div>

Hello, I’m new to camunda. I would try to use Embedded form with this BPMN test and this HTML test but I have the error

Form failure “the context path is either empty or not defined”  
I Have deployed the BPMN and the form with POSTMAN  
[inserimento\_assegnazione\_v2.bpmn](https://forum.camunda.io/uploads/short-url/srMGWvkqxLmQBeToKPYTTu2xVbl.bpmn) (5.5 KB)  
[approva-richiesta.html.txt](https://forum.camunda.io/uploads/short-url/viZAVrBjphWiGSFT2BNUpL3ISTJ.txt) (1.9 KB)

The last file is the HTML FORM  
Could you help me thanks in advance

---

<div class="post-metadata">

**Author:** ![Beagler](https://forum.camunda.io/user_avatar/forum.camunda.io/beagler/32/6707_2.png) [@Beagler](https://forum.camunda.io/u/Beagler)\
**Post date:** [February 27, 2020, 7:04pm UTC](https://forum.camunda.io/t/error-embedded-form/18283/2 "2020-02-27T19:04:24Z")

</div>

Hi Oronzo,  
First things first, you need to change the Form Key in your Human Task from embedded:app:forms/approva-richiesta.html to embedded:deployment:approva-richiesta.html since you are deploying the html file along with your bpmn file without packaging it in a project. There seems to be something amiss in the html as well which is preventing it from rendering. If I put in something simple it works. I’ll have a closer look at the html but in the meantime, update your Form Key.

Joe

---

<div class="post-metadata">

**Author:** ![Beagler](https://forum.camunda.io/user_avatar/forum.camunda.io/beagler/32/6707_2.png) [@Beagler](https://forum.camunda.io/u/Beagler)\
**Post date:** [February 27, 2020, 7:20pm UTC](https://forum.camunda.io/t/error-embedded-form/18283/3 "2020-02-27T19:20:36Z")

</div>

OK, so I removed the html stanza regarding the file upload and it rendered  
 ![image](https://forum.camunda.io/uploads/default/original/2X/b/b8336d5709a17ad11f089ca4ca34b117214d12ab.png)  
Now to fix the variables

Joe

---

<div class="post-metadata">

**Author:** ![Beagler](https://forum.camunda.io/user_avatar/forum.camunda.io/beagler/32/6707_2.png) [@Beagler](https://forum.camunda.io/u/Beagler)\
**Post date:** [February 27, 2020, 7:39pm UTC](https://forum.camunda.io/t/error-embedded-form/18283/4 "2020-02-27T19:39:53Z")

</div>

Variable bindings are fixed:  
 ![image](https://forum.camunda.io/uploads/default/original/2X/2/280b052c18686ab2d3a469f32286a137dee2a164.png)

And here are the updated files:  
[inserimento\_assegnazione\_v2.bpmn](https://forum.camunda.io/uploads/short-url/s3N4L9TLgBxy3AouFNu4xTrV1pu.bpmn) (5.5 KB) [approva-richiesta.html.txt](https://forum.camunda.io/uploads/short-url/zigfpNMbJS44TjxXu15H3OdAIok.txt) (1.7 KB)

---

<div class="post-metadata">

**Author:** ![oronzo\_lezzi](https://forum.camunda.io/user_avatar/forum.camunda.io/oronzo_lezzi/32/9017_2.png) [@oronzo\_lezzi](https://forum.camunda.io/u/oronzo_lezzi)\
**Post date:** [February 28, 2020, 8:18am UTC](https://forum.camunda.io/t/error-embedded-form/18283/5 "2020-02-28T08:18:51Z")

</div>

Hello, thanks for reply. I have some problem with deploy with Postman

 ![immagine](https://forum.camunda.io/uploads/default/original/2X/8/8e94b2d6b9d6bae39bb8d342ed3680b8a9f91cc4.png)

I cannot deploy the bpmn and html togheter.

---

<div class="post-metadata">

**Author:** ![Beagler](https://forum.camunda.io/user_avatar/forum.camunda.io/beagler/32/6707_2.png) [@Beagler](https://forum.camunda.io/u/Beagler)\
**Post date:** [February 28, 2020, 4:10pm UTC](https://forum.camunda.io/t/error-embedded-form/18283/6 "2020-02-28T16:10:32Z")

</div>

Right, so for the bpmn file put in a key of source, not upload:

 ![image](https://forum.camunda.io/uploads/default/original/2X/e/ea0aa6cb76aea55ea6fede627b4b60619b7619f8.png)

---

<div class="post-metadata">

**Author:** ![Beagler](https://forum.camunda.io/user_avatar/forum.camunda.io/beagler/32/6707_2.png) [@Beagler](https://forum.camunda.io/u/Beagler)\
**Post date:** [February 28, 2020, 4:11pm UTC](https://forum.camunda.io/t/error-embedded-form/18283/7 "2020-02-28T16:11:42Z")

</div>

And you’ll see this response:

 ![image](https://forum.camunda.io/uploads/default/original/2X/d/d4e62a2a658bbbdea84767adbe0db70d0504e710.png)

---

<div class="post-metadata">

**Author:** ![oronzo\_lezzi](https://forum.camunda.io/user_avatar/forum.camunda.io/oronzo_lezzi/32/9017_2.png) [@oronzo\_lezzi](https://forum.camunda.io/u/oronzo_lezzi)\
**Post date:** [February 28, 2020, 4:12pm UTC](https://forum.camunda.io/t/error-embedded-form/18283/8 "2020-02-28T16:12:58Z")

</div>

Great ! Step by step , I’m walking trough Camunda

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [January 30, 2024, 12:14pm UTC](https://forum.camunda.io/t/error-embedded-form/18283/9 "2024-01-30T12:14:15Z")

</div>

Closed on January 30, 2024, 12:14pm UTC


