Using a!httpQuery

Here is the code setup. I've changed the url for security reasons. 

a!httpQuery(
url: "jira/.../issue-number",
method: "GET",
headers:{
a!httpHeader(
name: "Content-Type",
value: "application/json"
)
},
basicAuthenticationCredentials:
a!httpAuthenticationBasic(
username: a!scsField(
externalSystemKey: "jiraTest",
fieldKey: "username"
),
password: a!scsField(
externalSystemKey:"jiraTest",
fieldKey: "password"
),
preemptive: true
)
)

when I ran the expression I am getting this error message. It's saying The External System [identifier=jiraTest] does not exist, has been deleted, or you do not have sufficient privileges to access its data.  I have jiraTest created under third-party credentials and I am an user with admin privileges. Any idea what the issue might be? 

 

 

[success:false,result:,error:[code:[category:0,namespace:1,detail:0],title:Failed to retrieve value from SCS username=,message:ObjectNotFoundException[jiraTest]: The External System [identifier=jiraTest] does not exist, has been deleted, or you do not have sufficient privileges to access its data. (APNX-1-4217-001),detail:No details available]]

  Discussion posts and replies are publicly visible