Deployment error using camunda modeller and authentication

Hi Camunda Users,

I’m trying to deploy a diagram using the camunda modeller and the following command:
endpoint_base_uri/rest/deployment/

and using a bearer token, unfortunately I get the following result:

Deploy error: {“deploymentName”:“bn_master”,“message”:“Forbidden”,“status”:403,“statusText”:“Forbidden”,“url”:“endpoint_base_uri/rest/deployment/create”}

The weird thing is that I can access to the list of deployments with no problem using:
GET endpoint_base_uri/rest/deployment/

NB: We used springboot starter for our camunda engine

Thanks a lot for your upcoming feedback, cheers,

Ch.

You do not need to add the /deployment postfix to the URL, since the Modeler is appending it itself, cf. CamundaAPI#deployDiagram. So when using the spring springboot starter, endpoint_base_uri/rest is enough to be input into the Deployment Modal

1 Like