camunda / connectors

Camunda Connectors
https://docs.camunda.io/docs/components/integration-framework/connectors/out-of-the-box-connectors/available-connectors-overview/
Apache License 2.0
34 stars 36 forks source link

Webhook connector cannot handle json array in request body #2774

Open markfarkas-camunda opened 2 weeks ago

markfarkas-camunda commented 2 weeks ago

Describe the Bug

If the body of the request is a json array, the webhook connector throws a runtime exception and returns with an http 500 response. The process doesn't start.

Steps to Reproduce

  1. Create a process with a webhook start event
  2. Deploy the process definition
  3. Call the webhook url with POST request containing a json array in the body

Expected Behavior

The request body should be parsed and the process should start

Environment

https://jira.camunda.com/browse/SUPPORT-22337