Class ExternalClientException

All Implemented Interfaces:
Serializable, Writeable, ToXContent, ToXContentFragment

public final class ExternalClientException extends ExternalException
An external-source failure caused by the request rather than by the cluster: the data we were pointed at cannot be read or decoded (corrupt/truncated/malformed file, an unsupported format feature, a missing object). Maps to 400 Bad Request.

Unlike reading an index, failing to read an external resource is treated as a client-class error: the caller chose the resource. Retryable transport problems are the exception — those are raised as ExternalUnavailableException (503) instead.

See Also: