Internal Server Error: No deployment could created because the engine can not parse file

Hi Guys,

when I try to create a deployment with an incorrect Bpmn diagram, I only get the Internal Server Error without a message why could not upload, while the output window shows the correct message why I could not upload the file.

Best Regards
Tricinty

Hi @Tricinty,

could you be more precise, how you deploy your diagram? Via REST API? Could you post the URL and the payload?
And which “output window” do you mean?

Svetlana

Hello Svetlana,

Yes i’m trying to deploy it via Rest Api. die Url “http://localhost:8080/engine-rest/engine/default/deployment/create”.

Are you sure, that you don’ts have error message in HTTP response?
I just tried to deploy the wrong diagram via Cockpit, which inside call the REST API and I see the error in development console:

Request URL: http://localhost:8080/camunda/api/engine/engine/default/deployment/create
Status Code: 500 
Response: {"type":"ProcessEngineException","message":"ENGINE-09005 Could not parse BPMN process. Errors: \n* Exclusive Gateway 'ExclusiveGateway_09ogr2r' has no outgoing sequence flows. | 111.bpmn | line 0 | column 0"}

I’m using C# Client from Mr. Bernd Rücker https://github.com/berndruecker/camunda-dot-net-showcase. I’m trying now to rewrite the code. Maybe there is failure inside it.

thanks