
# TypeError("Cannot index by location index with a non-integer key")
#### 问题现象
在judge日志中出现TypeError("Cannot index by location index with a non-integer key")提示。
![](https://support.huaweicloud.com/appstage_faq/zh-cn_image_0000002157572665.png "点击放大")
#### 解决方法
在异常检测任务基础配置的"字段配置"中，将维度的"列名"修改为对应的维度字段。
![](https://support.huaweicloud.com/appstage_faq/zh-cn_image_0000002122135960.png "点击放大")
