Appian Community
Site
Search
Sign In/Register
Site
Search
User
More
Cancel
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
I'm looking for...
State
Not Answered
Replies
6 replies
Subscribers
7 subscribers
Views
5672 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
I am using sendhttp node and using https POST I keep getting this error in
rayudua
over 9 years ago
I am using sendhttp node and using https POST
I keep getting this error in the log. i believe i proved the endpoint, header name, header value, body , user,pwd,domain
Not sure what am i missing.
com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=67377, classname=com.appiancorp.process.runtime.activities.HttpRequestActivityNTLM
java.lang.ArrayIndexOutOfBoundsException: 1
at com.appiancorp.util.http.HttpUtils.buildHttpMethod(HttpUtils.java:87)
at com.appiancorp.process.runtime.activities.HttpRequestActivityNTLM.run(HttpRequestActivityNTLM.java:83)
at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:101)
at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:98)
at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:25)
at com.appiancorp.process.runt...
OriginalPostID-93608
OriginalPostID-93608
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 9 years ago
It seems you have an extra header name that doesn't have a header value.
Looking at the source code of this plug-in here is where it is failing:
if (headerNames_ != null) {
for (int h = 0; h < headerNames_.length; h++) {
m.addRequestHeader(headerNames_[h], headerValues_[h]);
which makes me think you have two header names in the headerNames field but you only have one header value in the headerValue input.
Cancel
Up
0
Down
Reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 9 years ago
It seems you have an extra header name that doesn't have a header value.
Looking at the source code of this plug-in here is where it is failing:
if (headerNames_ != null) {
for (int h = 0; h < headerNames_.length; h++) {
m.addRequestHeader(headerNames_[h], headerValues_[h]);
which makes me think you have two header names in the headerNames field but you only have one header value in the headerValue input.
Cancel
Up
0
Down
Reply
Verify Answer
Cancel
Children
No Data