# File attachment download link returns "success": "OK"

**URL:** https://meta.discourse.org/t/file-attachment-download-link-returns-success-ok/117092
**Category:** Support
**Created:** [07.Май.2019 17:47:47 UTC](https://meta.discourse.org/t/file-attachment-download-link-returns-success-ok/117092 "2019-05-07T17:47:47Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Sean\_Strycker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sean_strycker/32/131436_2.png) [@Sean\_Strycker](https://meta.discourse.org/u/Sean_Strycker)
#### Post date: [07.Май.2019 17:47:47 UTC](https://meta.discourse.org/t/file-attachment-download-link-returns-success-ok/117092/1 "2019-05-07T17:47:47Z")

</div>

This just started happening on our community site - the file upload attachment, when clicked to download it - it returns a JSON response:

```
{
"success": "OK"
}

```

I have tried the file links directly and the download works, so I’m thinking this is something to do with the click tracking?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [08.Май.2019 01:16:54 UTC](https://meta.discourse.org/t/file-attachment-download-link-returns-success-ok/117092/2 "2019-05-08T01:16:54Z")

</div>

Are you saying that links to attachments don’t work but if you reload them or open in a new tab they do work?

That sounds like a problem I am having [Subfolder issue with PDF uploads?](https://meta.discourse.org/t/subfolder-issue-with-pdf-uploads/116896/)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [08.Май.2019 08:20:00 UTC](https://meta.discourse.org/t/file-attachment-download-link-returns-success-ok/117092/3 "2019-05-08T08:20:00Z")

</div>

Are you aware of this @nbianca?

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [08.Май.2019 08:58:42 UTC](https://meta.discourse.org/t/file-attachment-download-link-returns-success-ok/117092/4 "2019-05-08T08:58:42Z")

</div>

I’ve already fixed this one.

[https://github.com/discourse/discourse/commit/861023f0d64d1ba26c07d42d24ad55315e50ed1b](https://github.com/discourse/discourse/commit/861023f0d64d1ba26c07d42d24ad55315e50ed1b)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [08.Май.2019 09:10:43 UTC](https://meta.discourse.org/t/file-attachment-download-link-returns-success-ok/117092/5 "2019-05-08T09:10:43Z")

</div>


