# 自动化数据浏览器中的CSV链接在PM中显示404错误

**URL:** <https://meta.discourse.org/t/links-to-csvs-in-automation-data-explorer-pms-are-404s/335796>\
**Category:** Bug\
**Tags:** automation, fixed\
**Created:** [2024 年11 月 12 日 16:35 UTC](https://meta.discourse.org/t/links-to-csvs-in-automation-data-explorer-pms-are-404s/335796 "2024-11-12T16:35:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![T\_Disco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/t_disco/32/455171_2.png) [@T\_Disco](https://meta.discourse.org/u/T_Disco)\
发布日期： [2024 年11 月 14 日 09:25 UTC](https://meta.discourse.org/t/links-to-csvs-in-automation-data-explorer-pms-are-404s/335796/3 "2024-11-14T09:25:08Z")

</div>

这是因为 `authorized extensions for staff`（授权扩展名供员工使用）设置中未添加 csv 扩展名。

 ![282d58cdab268112260161ddee94f54094304f85-2](https://global.discourse-cdn.com/meta/original/4X/1/0/f/10fdd14f7638cb11f83da09ac74e0e083b3765ec.png)

添加 csv 扩展名并重新触发 PM 后，后续 PM 中的 csv 链接即可正常工作。

一些建议：

1. 在自动化页面上，在复选框“将 CSV 文件附加到 PM”之后添加一些文本和链接。例如：（需要授权 csv 扩展名）。_将“授权 csv 扩展名”链接到 `/admin/site_settings/category/all_results?filter=authorized%20extensions%20for%20staff`_

2. 为了将来能帮助诊断问题所在，如果可能的话，请将 PM 中 csv 未被授权扩展名时的链接从：  
href=“/404”  
更改为类似：  
href=“/unauthorized”

感谢 @pmusaraj 帮助我解决这个问题！❤

---

_[View the full topic](https://meta.discourse.org/t/links-to-csvs-in-automation-data-explorer-pms-are-404s/335796)._
