Frequent 404 errors returned when trying to start a process from API

Hello,

I’m running the embedded process engine (version 7.21.0) from within a Spring Boot application.

I’ve enabled the authorization with the property camunda.bpm.authorization.enabled set to true and I’m getting frequent 404 errors when running locally from IntelliJ and executing a burst of API calls to start a deployed process definition:

POST http://localhost:8860/engine-rest/process-definition/key/TestExternalTaskWorkflow/start
Content-Type: application/json
Authorization: Basic ********************

{
}

{
“type”: “RestException”,
“message”: “No matching process definition with key: TestExternalTaskWorkflow and no tenant-id”,
“code”: null
}

11 on 20 requests are getting the error messages.

If I’m deactivating the authorization, all the requests are successfully executed.

Any clues?

BR
Pascal

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.