We are getting the following error while executing the below mentioned expressions:

Certified Senior Developer

Hi we are getting the following error while executing the below mentioned expressions:-

[success:false,result:,error:[code:[category:0,namespace:1,detail:0],title:HTTP error connecting to np1http12v/.../1.1 401 Unauthorized,detail:No details available]]

load(
local!CCSQuery : a!httpQuery(
url : "SERVER_NAME/costcenters",
method : "GET",
basicAuthenticationCredentials : a!httpAuthenticationBasic(
username : a!scsField(
externalSystemKey : "testwebapi",
fieldKey : "username.2"
),
password : a!scsField(
externalSystemKey : "testwebapi",
fieldKey : "password"
)
)
),
           a!formLayout(
                     label :"Rest API Data",
                     firstColumnContents :{
                              a!paragraphField(
                               value : local!CCSQuery,
                               readOnly :true
                              )
                     }
                    )
)


We have configured the keys in Admin Console page.
1) I...

OriginalPostID-141921

OriginalPostID-141921

  Discussion posts and replies are publicly visible