Error when fetching process defination on BPM Service

Hey, i can’t seem to fetch the Process defination using BPM Service, it gives me Error 401: Unauthorised.

I’m using IDS authorisation token to access it.

response:

{
    "status": "error",
    "statusCode": 401,
    "error": {
        "code": "UNAUTHORIZED",
        "message": "Invalid token",
        "details": null
    }
}

body:

{
    "processDefinationId": "poc.anhnh27-poc",
    "metadata": {
        "containerId": "poc_1.0.0-SNAPSHOT"
    }
}

can you please help me resolve this issue?

@NashitaAfrah @Sam