8.6 SaaS REST API is fully functional?

I’m looking to test the “Create Process Instance” REST endpoint on our SaaS 8.6 cluster.

We can successfully get our token and seem to be sending the appropriate details to the endpoint but are getting back a path not found response.

Here’s our test curl:

#connect to auth server and get token into a variable
TOKEN=$(curl --request POST ${ZEEBE_AUTHORIZATION_SERVER_URL} \
    --header 'Content-Type: application/x-www-form-urlencoded' \
    --data-urlencode 'grant_type=client_credentials' \
    --data-urlencode "audience=${ZEEBE_TOKEN_AUDIENCE}" \
    --data-urlencode "client_id=${ZEEBE_CLIENT_ID}" \
    --data-urlencode "client_secret=${ZEEBE_CLIENT_SECRET}" \
    | python3 -c "import sys, json; print(json.load(sys.stdin)['access_token'])")

START_PROCESS_INSTANCE_URL="${ZEEBE_REST_ADDRESS}/v2/process-instances"

#connect to zeebe_rest_address
curl -L ${START_PROCESS_INSTANCE_URL} \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-vvv \
--data-raw '{
    "processDefinitionKey": 0,
    "bpmnProcessId": "XXX",
    "version": -1,
    "variables": {
        {"X":"X"}
    },
    "tenantId": null,
    "operationReference": 0,
    "startInstructions": [],
    "awaitCompletion": true,
    "requestTimeout": 0
}'

Response from server:

{"timestamp":"2024-09-27T15:56:57.874+00:00","status":404,"error":"Not Found","path":"/$ourclusterid/v2/process-instances"}

If I try just hitting the raw ZEEBE_REST_ADDRESS, the error is similar:

{"timestamp":"2024-09-27T15:37:19.692+00:00","status":404,"error":"Not Found","path":"/$ourclusterid/"}

Is this API active and functioning as documented? Create process instance | Camunda 8 Docs

Hi @lance, welcome to the forums! I’ll check with the teams to see what, exactly, has been fully enabled in SaaS. 8.6 is still in an alpha/beta release, with the official release coming on October 8, so I wouldn’t expect every feature you see in the alpha/beta docs to be fully functional quite yet.

1 Like

@lance - I confirmed with the engineering team, that particular endpoint isn’t available in SaaS yet, but will be with the full 8.6 release next week!

1 Like

Perfect. Thanks, Nathan. In the meantime I’m using the gRPC endpoints just, fine instead.

1 Like

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