# Upload avatar image with API

**URL:** <https://meta.discourse.org/t/upload-avatar-image-with-api/55253>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [2017 年 1 月 6 日午前 1:31 UTC](https://meta.discourse.org/t/upload-avatar-image-with-api/55253 "2017-01-06T01:31:43Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![adam\_beers](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@adam\_beers](https://meta.discourse.org/u/adam_beers)\
**Post date:** [2017 年 1 月 6 日午前 1:31 UTC](https://meta.discourse.org/t/upload-avatar-image-with-api/55253/1 "2017-01-06T01:31:43Z")

</div>

I’m trying to upload an avatar image with the API as follows. I’m getting back a 500 error and I don’t see anything in the Error Logs on the server, via the Admin user.

I’ve attached a picture with the data from a Postman POST.

Of note is that I had this working at one time but then something changed and it stopped working. I’m not sure what changed, besides an update to Discourse and Docker.

 ![](https://global.discourse-cdn.com/meta/original/3X/3/1/31e1dc5838bb28a11a238d4478271ef38ad2f538.PNG)

---

_[View the full topic](https://meta.discourse.org/t/upload-avatar-image-with-api/55253)._
