nandiniks
(Nandini KS)
July 7, 2025, 9:58am
1
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.
nithyamn13
(Nithya Manni Nagalingam)
July 7, 2025, 10:25am
4
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 :
Hi team,
This post is conceptually an extension to this(below link) post but creating this as this is a different topic: Create account API | Delimited source | multi valued attribute - #17 by vbdm
I am trying to add a HTTP Action step as part of the workflow.
The below postman call worked:
curl --location 'https://<demo_tenant>.com/v2025/accounts' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <Token>' \
--data-raw '{
…
sauvee
(Edwin Sauve)
July 7, 2025, 12:30pm
5
The credentials need to be in the HEADER. Right now you use BODY.
4 Likes
YanCoelho
(Yan Coelho)
July 7, 2025, 12:45pm
6
Hello,
Which endpoint are you calling?
nandiniks
(Nandini KS)
July 8, 2025, 7:07am
7
Hi Edwin, i tried that as well. It didnot work.
nandiniks
(Nandini KS)
July 8, 2025, 7:09am
8
PAT creds has scope all , and workflow owner is myself as ORG admin.
sauvee
(Edwin Sauve)
July 9, 2025, 6:25am
9
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:
system
(system)
Closed
September 7, 2025, 6:26am
10
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.