

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# Neptune ML SPARQL 推理查询的异常列表
<a name="machine-learning-sparql-exceptions"></a>
+ **`BadRequestException`** – *消息*：`The SERVICE http://aws.amazon.com/neptune/vocab/v01/services/ml#inference expects at least 1 value for the parameter {{(parameter name)}}, found zero.`
+ **`BadRequestException`** – *消息*：`The SERVICE http://aws.amazon.com/neptune/vocab/v01/services/ml#inference expects at most 1 value for the parameter {{(parameter name)}}, found {{(a number)}} values.`
+ **`BadRequestException`** – *消息*：`Invalid predicate {{(predicate name)}} provided for external service http://aws.amazon.com/neptune/vocab/v01/services/ml#inference query.`
+ **`BadRequestException`** – *消息*：`The SERVICE http://aws.amazon.com/neptune/vocab/v01/services/ml#inference expects the predicate {{(predicate name)}} to be defined`。
+ **`BadRequestException`** – *消息*：`The SERVICE http://aws.amazon.com/neptune/vocab/v01/services/ml#inference expects the value of (parameter) {{(parameter name)}} to be a variable, found: {{(type)}}"`
+ **`BadRequestException`** – *消息*：`The SERVICE http://aws.amazon.com/neptune/vocab/v01/services/ml#inference expects the input {{(parameter name)}} to be a constant, found: {{(type)}}`。
+ **`BadRequestException`** – *消息*：`The SERVICE http://aws.amazon.com/neptune/vocab/v01/services/ml#inference is expected to return only 1 value`。
+ **`BadRequestException`** – *消息*：`"The SERVICE http://aws.amazon.com/neptune/vocab/v01/services/ml#inference only allows StatementPatternNodes`。
+ **`BadRequestException`** – *消息*：`The SERVICE http://aws.amazon.com/neptune/vocab/v01/services/ml#inference does not allow the predicate {{(predicate name)}}`。
+ **`BadRequestException`** – *消息*：`The SERVICE http://aws.amazon.com/neptune/vocab/v01/services/ml#inference predicates cannot be variables, found: {{(type)}}`。
+ **`BadRequestException`** – *消息*：`The SERVICE http://aws.amazon.com/neptune/vocab/v01/services/ml#inference predicates are expected to be part of the namespace {{(namespace name)}}, found: {{(namespace name)}}`。