# Cannot upload a file through the API with the synchronous parameter

**URL:** <https://meta.discourse.org/t/cannot-upload-a-file-through-the-api-with-the-synchronous-parameter/43799>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [5월 6, 2016, 2:33오후 UTC](https://meta.discourse.org/t/cannot-upload-a-file-through-the-api-with-the-synchronous-parameter/43799 "2016-05-06T14:33:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [5월 6, 2016, 3:16오후 UTC](https://meta.discourse.org/t/cannot-upload-a-file-through-the-api-with-the-synchronous-parameter/43799/4 "2016-05-06T15:16:41Z")

</div>

Code looks correct. What does `your.discourse/logs` show when you get the 500?

---

_[View the full topic](https://meta.discourse.org/t/cannot-upload-a-file-through-the-api-with-the-synchronous-parameter/43799)._
