Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
7 subscribers
Views
2478 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
httpget function is working with the credentials provided. But inbuil
jasmins
over 10 years ago
httpget function is working with the credentials provided.
But inbuilt httpquery function is throwing error. Is there any mistake in code or passing parameters?
please advise how to test third party credentials store.
We have also created third party credentials, but it seems to be not reading the keys.
a!formLayout(
label :"Rest API Data",
firstColumnContents :{
a!paragraphField(
value :
a!httpQuery(
url:"
http://SERVER_NAME/locations",
method :"GET",
basicAuthenticationCredentials : a!httpAuthenticationBasic(
username : a!scsField(
externalSystemKey : "externalSystemKey",
fieldKey : "usernameKey" ),
password : a!scsField(
externalSystemKey : "ExternalSystemKey",
fieldKey : "passwordKey" ) )
),
readOnly :true)})
Error-:[success:false,result:,error:[code:[category:0,namespace:1,detail:0],title:HT...
OriginalPostID-143129
OriginalPostID-143129
Discussion posts and replies are publicly visible
Parents
0
jasmins
over 10 years ago
To same account,We are able to connect by httpget function with credentials provided.Please find below application server error log.
ERROR com.appian.integration.httpclient.function.HttpFunction - ConnectorRuntimeException [title=HTTP error connecting to http://SERVER_NAME/locations, com.appian.integration.core.exception.ConnectorRuntimeException: HTTP/1.1 401 Unauthorized].
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
jasmins
over 10 years ago
To same account,We are able to connect by httpget function with credentials provided.Please find below application server error log.
ERROR com.appian.integration.httpclient.function.HttpFunction - ConnectorRuntimeException [title=HTTP error connecting to http://SERVER_NAME/locations, com.appian.integration.core.exception.ConnectorRuntimeException: HTTP/1.1 401 Unauthorized].
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data