amazon-web-services - AWS Forecast 错误提示过滤器 ID 丢失或无效
问题描述
每当我想进行预测查找时,都会收到以下错误消息:
Bad request
ResourceNotFoundException : The query did not return any forecast results as the required filter id is either missing or is invalid.
我对为什么会收到此错误一无所知。我检查了我的预测键(即 item_id)和值(即 F11),它们与我用于数据集的 .csv 相符。我还检查了我为数据集设置的属性的顺序,它们也适合我的 .csv。
我的 csv 中的示例行如下所示:
2016-12-07, 2, LAE, F11, 190, 190, 215, 58, 58, 79, 0, 23, ****
我的数据模式如下所示:
{
"Attributes": [
{
"AttributeName": "timestamp",
"AttributeType": "timestamp"
},
{
"AttributeName": "location",
"AttributeType": "string"
},
{
"AttributeName": "mpkt",
"AttributeType": "string"
},
{
"AttributeName": "item_id",
"AttributeType": "string"
},
{
"AttributeName": "PL_atag",
"AttributeType": "string"
},
{
"AttributeName": "SO_atag",
"AttributeType": "string"
},
{
"AttributeName": "demand",
"AttributeType": "float"
},
{
"AttributeName": "plumlauf",
"AttributeType": "string"
},
{
"AttributeName": "sumlauf",
"AttributeType": "string"
},
{
"AttributeName": "umlauf",
"AttributeType": "string"
},
{
"AttributeName": "diff_mpp",
"AttributeType": "string"
},
{
"AttributeName": "diff_rp",
"AttributeType": "string"
},
{
"AttributeName": "fst_fber",
"AttributeType": "string"
}
]
}
那么这里的错误在哪里呢?
解决方案
我可以通过输入包括空白使其工作。在您的情况下,您应该为 item_id 输入“F11”。
推荐阅读
- javascript - UTC 实时时钟,不适用于负时区
- node.js - Azure NodeJS 版本
- javascript - 用户脚本:更改 AngularJS ng-model
- mouse - 错误(Steermouse 管理器 5.2.3)130.0073
- apache-spark - Spark Parquet 文件写入不会显示目标文件夹中的任何文件
- python-3.x - 无法建立新连接 Discord.py
- python - django模型字段检查实例
- listview - 当物理设置为 NeverScrollableScrollPhysics 时,ListView Builder 项目被切断
- javascript - Why does @Storybook/react-native requires react-dom?
- html - 在 IE 5 中模拟时不出现下拉菜单