KB-1857 "Error processing request to Web Api Endpoint importproperty" when passing accented characters in the request body of a Web API

Symptoms

When an external system invokes an Appian Web API with a request body that is not UTF-8 encoded, the call to the Web API may fail with the following error in the application server log:

ERROR com.appiancorp.webapi.WebApiServlet - Error processing request to Web Api Endpoint importproperty
INFO [stdout] (ajp-/0.0.0.0:8009-29) java.nio.charset.MalformedInputException: Input length = 1

Cause

The request body is not UTF-8 encoded.

Action

Ensure that the request body for any calls to Web APIs are UTF-8 encoded.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: February 2019

Related
Recommended