Hi all guys!
I'm trying to call an IMS API from M3 H5 SDK but I can't figure out what I can put tu X-ClientID Field.
The API is, for example:
/IONSERVICES/api/ion/messaging/service/v3/{logicalId}/acceptedDocuments
I can call It without problem from Postman ( I've added an authorized app in ION API), but both from "ION API" Try it out function and from M3 H5 SDK I can't call it.
Everything I do, I get
{
"status": "FAIL",
"code": 464,
"errors": "Invalid OAuth keypair for logicalId lid://infor.ims.h5sdk_ims"
}
from ION API, and
status: "FAIL
code: 471
errors: "Invalid client id provided"
From H5 SDK app, executed in chrome. The authorization token in this case is managed automatically by the SDK, using the same authentication of M3.
I tried with my authorized apps client Id but it doesn't work.
I am in a multi tenant environment.
How Can I solve it ?
Thanks a lot, and have a good night!