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
1 reply
Subscribers
8 subscribers
Views
1840 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Web API Error
aksharc
over 7 years ago
We have created a Web API which will be consumed by the external systems. Briefly, this Web API accepts JSON and starts a process using a!startProcess component.
Now, when I try to access the Web API from Fiddler, I get the success message. But somehow, if the WebAPI is accessed from the external system, it throws following exception with message ERROR com.appiancorp.webapi.WebApiServlet - Error processing request to Web Api Endpoint <Endpoint Name>:
java.nio.charset.MalformedInputException: Input length = 1 and java.nio.charset.CoderResult.throwException. From the latter, I am guessing that it may have something to do with charset. What charset Web API expects? Or is it indeed a charset issue? How could I debug this?
OriginalPostID-232599
Discussion posts and replies are publicly visible
0
Tom Ryan
Appian Employee
over 7 years ago
From the error, it seems that you are not sending the expected input format.
Are you seeing any additional detail in the app server log? If not, you might be able to get some more info by increasing the webapi logging levels:
log4j.logger.com.appiancorp.webapi=DEBUG
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel