Unable to make a call internally to IDN from workflow

Hi team,
I am trying to make an internal API call within a workflow and getting below error.

“{“error”:“task failed: activity error (type: sp:external:http:v2, scheduledEventID: 5, startedEventID: 6, identity: 1@sp-workflow-worker-stg-us-east-1-6b8989f44d-tggb9@sp-workflow-engine): request failed (type: HTTP Response Returned a Client Error, retryable: false): request failed: 401 - 401 - {"error":"JWT is required"}”}”

Support will be helpful.

Can you try to test it with Postman to make sure if you see the same issue.
Also Ensured that this PAT has all scope
and The owner of the workflow is a admin. Can you check your confirguration on similar to this :

The credentials need to be in the HEADER. Right now you use BODY.

4 Likes

Hello,

Which endpoint are you calling?

Hi Edwin, i tried that as well. It didnot work.

PAT creds has scope all , and workflow owner is myself as ORG admin.

Just noticing, that clientID looks very long, usually they are somewhat shorter. Could it be you copy pasted the client secret into the clientID field by accident?

Have you tried the credentials in postman or a similar tool?

Here are my settings for comparison:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.