# Test Request Uploading virtual background not working

**URL:** <https://devforum.zoom.us/t/test-request-uploading-virtual-background-not-working/46829>\
**Category:** API and Webhooks\
**Created:** [March 29, 2021, 10:55am UTC](https://devforum.zoom.us/t/test-request-uploading-virtual-background-not-working/46829 "2021-03-29T10:55:20Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 5, 2021, 7:59pm UTC](https://devforum.zoom.us/t/test-request-uploading-virtual-background-not-working/46829/8 "2021-04-05T19:59:32Z")

</div>

Hey @ido1 ,

Checkout this thread for uploading a photo via the Zoom API:

> [@Helpful Tip: Uploading user pictures requires multipart request](https://devforum.zoom.us/t/helpful-tip-uploading-user-pictures-requires-multipart-request/2527):
>
> [POST /users/{userId}/picture](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/userpicture) is documented as taking one piece of request data “pic\_file” which is of type “file” and “must be a jpg/jpeg” but provides no other documentation. The test request shows an example with the Content-Type application/json, but attempting to use this will return a 400 Bad Request error with the message “Current request is not a multipart request”. Instead, I found success piecing together random comments on the internet and using “Content-Type: multipart/form-data; bou…

Let me know if that helps! 🙂

Thanks,  
Tommy

---

_[View the full topic](https://devforum.zoom.us/t/test-request-uploading-virtual-background-not-working/46829)._
