
# 日志提示"errorMessage:The specified key does not exist"
#### 问题现象
在用moxing访问OBS路径时，出现如下错误：
```
ERROR:root:
stat:404
errorCode:NoSuchKey
errorMessage:The specified key does not exist.
```
#### 原因分析
出现该问题的可能原因如下：
桶中的对象不存在，请检查OBS路径中的内容是否存在。具体错误码请参见[OBS官方文档](https://support.huaweicloud.com/sdk-python-devg-obs/obs_22_1502.html)。
#### 处理方法
1. 检查OBS路径及内容格式是否正常。
2. 必现的问题，使用本地Pycharm远程连接Notebook调试。
 
#### 建议与总结
在创建训练作业前，推荐您先使用ModelArts开发环境调试训练代码，避免代码迁移过程中的错误。
- 直接使用线上notebook环境调试请参考[使用JupyterLab开发模型](https://support.huaweicloud.com/devtool-modelarts/devtool-modelarts_0012.html)。
- 配置本地IDE（Pycharm或者VSCode）连接云上环境调试请参考[使用本地IDE开发模型](https://support.huaweicloud.com/devtool-modelarts/devtool-modelarts_0019.html)。
 
