axios

Cannot instantiate a process with axios via HTTP

I have a Node.js API which I'm trying to communicate with Bonitasoft via Axios, I can login and get the processes that the logged user can instantiate, no problem there. But when I want to instantiate a process I'm getting 401 code, I'm passing the bonita token in the header as:

X-Bonita-API-Token: Token value from login

Also tried sending the cookie header as:

Notifications