Hi,
i'm using the bulk api service /m3api-rest/v2/execute to perfom bulk calls.
In development mode, it works fine using the IonApiService.execute + ionApiService.setDevelopmentToken
But when deployed (i removed the serDevelopmentToken), i've got an error :
polyfills.593f0c3ec3bcaef0.js:1 POST https://mingle-ionapi.eu1.inforcloudsuite.com/TENANT/M3/m3api-rest/v2/execute 401
JSON response : {"error":"Unauthorized"}
Parameters :
URL de requête: https://mingle-ionapi.eu1.inforcloudsuite.com/TENANT/M3/m3api-rest/v2/execute
Mode de requête: POST
Code d'état: 401
Règlement sur les URL de provenance: strict-origin-when-cross-origin
:authority: mingle-ionapi.eu1.inforcloudsuite.com
:method: POST
:path: /TENANT/M3/m3api-rest/v2/execute
:scheme: https
accept: application/json; charset=UTF-8
accept-encoding: gzip, deflate, br
accept-language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7
content-length: 382
content-type: application/json; charset=UTF-8
origin: https://m3prdeuc1.m3.eu1.inforcloudsuite.com
referer: https://m3prdeuc1.m3.eu1.inforcloudsuite.com/
sec-ch-ua: "Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "macOS"
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: same-site
Hi, i'm using the bulk api service /m3api-rest/v2/execute to perfom bulk calls. In development mode, it works fine using the IonApiService.execute + ionApiService.setDevelopmentToken But when deployed (i removed the serDevelopmentToken), i've got an error : polyfills.593f0c3ec3bcaef0.js:1 POST https://mingle-ionapi.eu1.inforcloudsuite.com/TENANT/M3/m3api-rest/v2/execute 401
JSON response : {"error":"Unauthorized"}
Parameters : URL de requête: https://mingle-ionapi.eu1.inforcloudsuite.com/TENANT/M3/m3api-rest/v2/execute Mode de requête: POST Code d'état: 401
Règlement sur les URL de provenance: strict-origin-when-cross-origin :authority: mingle-ionapi.eu1.inforcloudsuite.com :method: POST :path: /TENANT/M3/m3api-rest/v2/execute :scheme: https accept: application/json; charset=UTF-8 accept-encoding: gzip, deflate, br accept-language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7 content-length: 382 content-type: application/json; charset=UTF-8 origin: https://m3prdeuc1.m3.eu1.inforcloudsuite.com referer: https://m3prdeuc1.m3.eu1.inforcloudsuite.com/ sec-ch-ua: "Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109" sec-ch-ua-mobile: ?0 sec-ch-ua-platform: "macOS" sec-fetch-dest: empty sec-fetch-mode: cors sec-fetch-site: same-site
Versions
Odin : 6.0.0 Node : v16.18.0