Hello,
I have an issue with my API flow and need assistance. In my use case, I have:
- A workflow that is triggered by a schedule and calls an API flow.
- The API flow that runs several API calls and should send a message via IONSERVICES/api/ion/messaging/service/v2/message at the end.
- A document flow that is triggered by the IMS message.
I successfully tested the document flow using Postman and the workflow. However, the API flow only works up to the IMS messaging call, which consistently fails with error 412 "Invalid client ID provided," despite using the same credentials as the Postman test (see image bottom request).
It appears that this API endpoint cannot be called in any flow. I have also tested it with a service account that has all authorization scopes, but there was no change.
Is it generally possible to use this endpoint within ION flows, or is it only defined for external applications?
If it is generally usable, what could be causing the 412 error? Is there a way to view the credentials (Bearer token) used for this call? In API Gateway Monitoring, I only see the service account used.
Thank you for your help.
Best regards,
Marlene