# Error: Invalid deploy result code: HTTP/1.1 500

**URL:** <https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962>\
**Category:** Flowable Engine\
**Created:** [May 31, 2019, 2:26pm UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962 "2019-05-31T14:26:49Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![herveg](https://avatars.discourse-cdn.com/v4/letter/h/a9a28c/32.png) [@herveg](https://forum.flowable.org/u/herveg)\
**Post date:** [May 31, 2019, 2:26pm UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962/1 "2019-05-31T14:26:49Z")

</div>

Hello,

After creating a model, when trying to publish an application in flowable-modeler, we have the following error:  
**Invalid deploy result code: HTTP/1.1 500**

Please, we need your help urgently.

Regards

---

<div class="post-metadata">

**Author:** ![Manjunath\_Ch](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/manjunath_ch/32/262_2.png) [@Manjunath\_Ch](https://forum.flowable.org/u/Manjunath_Ch)\
**Post date:** [June 1, 2019, 4:53pm UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962/2 "2019-06-01T16:53:28Z")

</div>

- Make sure you also deploy flowable task app because modeler user task app API for deployment.

- Make sure your process is error free, like no obvious syntax error.

if both doesn’t help, please share error stack trace from log.

Thanks,

---

<div class="post-metadata">

**Author:** ![julien](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@julien](https://forum.flowable.org/u/julien)\
**Post date:** [June 5, 2019, 6:26am UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962/3 "2019-06-05T06:26:20Z")

</div>

Dear Herve,

I faced this problem many times usually when trying to use the “candidate group” feature. It sometimes work and sometimes throw this error. In case you’ve set your process up with a candidate group, try to remove it and see if it helps with the publication of the app.

Cheers,

Julien

---

<div class="post-metadata">

**Author:** ![akki](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@akki](https://forum.flowable.org/u/akki)\
**Post date:** [June 17, 2019, 9:01am UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962/4 "2019-06-17T09:01:55Z")

</div>

I am new to Flowable and I was just going through this [[Instant Gratification with Flowable 6 | These are my principles](https://paulhh.wordpress.com/2017/01/31/flowable-6-instant-gratification/)](

> Instant Gratification with Flowable 6

), did exactly what was shown but, still I got this error when publishing the app and I didn’t find any reference of deploying flowable task app…please let me know what I am missing.

---

<div class="post-metadata">

**Author:** ![PHH](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/phh/32/94_2.png) [@PHH](https://forum.flowable.org/u/PHH)\
**Post date:** [June 17, 2019, 9:25am UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962/5 "2019-06-17T09:25:59Z")

</div>

Hi,

Are you using the 6.4.1 download or building from the current code?

Cheers  
Paul.

---

<div class="post-metadata">

**Author:** ![akki](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@akki](https://forum.flowable.org/u/akki)\
**Post date:** [June 17, 2019, 9:54am UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962/7 "2019-06-17T09:54:18Z")

</div>

Hi,

I am using 6.4.1 download.

2019-06-17 14:49:17.203 ERROR 13352 — [nio-8080-exec-6] o.f.u.m.s.AppDefinitionPublishService : Invalid deploy result code: HTTP/1.1 500 [http://localhost:8080/flowable-task/app-api/app-repository/deployments?deploymentKey=gigapp&deploymentName=Gig+App](http://localhost:8080/flowable-task/app-api/app-repository/deployments?deploymentKey=gigapp&deploymentName=Gig+App) for url

is what I got after selecting publish.

On going to localhost:8080/flowable-task, It shows the task app running and on going there, it shows the task which I have created.

Looks like there was some logic error in process, due to which I kept getting this error, it is solved now.

---

<div class="post-metadata">

**Author:** ![tijs](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@tijs](https://forum.flowable.org/u/tijs)\
**Post date:** [June 17, 2019, 10:50am UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962/8 "2019-06-17T10:50:51Z")

</div>

Hi,

Are you sure you have the Flowable Task application running on localhost port 8080 in the flowable-task context root?

Best regards,

Tijs

---

<div class="post-metadata">

**Author:** ![akki](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@akki](https://forum.flowable.org/u/akki)\
**Post date:** [June 17, 2019, 10:58am UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962/10 "2019-06-17T10:58:24Z")

</div>

Hi,

Nope, I am not sure if I have Flowable Task application running on the localhost port 8080.  
I was following along with the [https://paulhh.wordpress.com/2017/01/31/flowable-6-instant-gratification/](https://paulhh.wordpress.com/2017/01/31/flowable-6-instant-gratification/), from there I just created a task, created a process, while publishing the process, I got this error, you can see in the link, if something is missing that I need to add, I looked over it again, but I can see I have followed all the steps till “Creating the process app”.

---

<div class="post-metadata">

**Author:** ![akki](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@akki](https://forum.flowable.org/u/akki)\
**Post date:** [June 17, 2019, 11:00am UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962/11 "2019-06-17T11:00:13Z")

</div>

Error starts with something like this:

```
2019-06-17 15:19:59.764 INFO 13352 --- [nio-8080-exec-9] o.f.e.l.j.c.BpmnJsonConverter : Skipping edge sid-4022A4A3-2E16-4BB6-A6FB-2186E7C12E9B because source ref is null
2019-06-17 15:20:00.201 INFO 13352 --- [nio-8080-exec-6] o.f.a.e.i.d.AppDeployer : Processing app resource gigapp.app
2019-06-17 15:20:00.202 INFO 13352 --- [nio-8080-exec-6] o.f.e.c.i.d.BpmnDeployer : BpmnDeployer: processing resource gigplan.bpmn
2019-06-17 15:20:00.666 ERROR 13352 --- [nio-8080-exec-6] o.f.e.i.b.d.ParsedDeploymentBuilder : Could not parse resource gigplan.bpmn

org.flowable.bpmn.exceptions.XMLException: cvc-complex-type.4: Attribute 'sourceRef' must appear on element 'sequenceFlow'.
        at org.flowable.bpmn.converter.BpmnXMLConverter.convertToBpmnModel(BpmnXMLConverter.java:274) ~[flowable-bpmn-converter-6.4.1.jar:6.4.1]
        at org.flowable.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:148) ~[flowable-engine-6.4.1.jar:6.4.1]

```

Full stack trace exceeds the maximum allowed characters

On going to localhost:8080/flowable-task/, It shows the task app running and on going there, it shows the task which I have created.

---

<div class="post-metadata">

**Author:** ![PHH](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/phh/32/94_2.png) [@PHH](https://forum.flowable.org/u/PHH)\
**Post date:** [June 17, 2019, 1:15pm UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962/12 "2019-06-17T13:15:54Z")

</div>

What happens if you just enter the URL [http://localhost:8080/flowable-task](http://localhost:8080/flowable-task) into your browser?

It should show the Flowable Task app. Just trying to confirm the Task app is running first. You should be able to create a task manually, but there won’t be any processes to start.

Cheers  
Paul.

---

<div class="post-metadata">

**Author:** ![wwitt](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/wwitt/32/706_2.png) [@wwitt](https://forum.flowable.org/u/wwitt)\
**Post date:** [June 19, 2019, 1:36pm UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962/13 "2019-06-19T13:36:32Z")

</div>

My guess is that you have an extra sequence flow (arrow) in your model. Or you’ve inadvertently unlinked a sequence flow from its destination. Try moving each of your processes, gates, and start/end events in the modeler and see if there is a sequence flow that is detached.

Will

---

<div class="post-metadata">

**Author:** ![ankit45621](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@ankit45621](https://forum.flowable.org/u/ankit45621)\
**Post date:** [May 26, 2020, 3:08am UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962/14 "2020-05-26T03:08:13Z")

</div>

I am getting same issue. Please let me know if you got the solution?

---

<div class="post-metadata">

**Author:** ![akki](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@akki](https://forum.flowable.org/u/akki)\
**Post date:** [June 22, 2020, 4:27am UTC](https://forum.flowable.org/t/error-invalid-deploy-result-code-http-1-1-500/3962/15 "2020-06-22T04:27:00Z")

</div>

validate the workflow once if it has any error or not
