# URL to player\_logo\_image

**URL:** <https://community.wowza.com/t/url-to-player-logo-image/51138>\
**Category:** Wowza Developer Dojo\
**Created:** [April 17, 2018, 3:44pm UTC](https://community.wowza.com/t/url-to-player-logo-image/51138 "2018-04-17T15:44:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![And\_Har](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@And\_Har](https://community.wowza.com/u/And_Har)\
**Post date:** [April 17, 2018, 3:44pm UTC](https://community.wowza.com/t/url-to-player-logo-image/51138/1 "2018-04-17T15:44:24Z")

</div>

I’m creating a stream with the Rest API and it works fine. Until I try to set a player\_logo\_image, then it gives a 422 error about validation and “Can’t upload image…”

I try both to link to an uploaded image:

“player\_logo\_image”: “[https://prod-railsapp.s3.amazonaws.com/uploads/player/logo\_image/223087/padel365-v.jpg](https://prod-railsapp.s3.amazonaws.com/uploads/player/logo_image/223087/padel365-v.jpg)”

Or a local on my website:

“player\_logo\_image”: “[http://padelstreamer.com/padel365.jpg](http://padelstreamer.com/padel365.jpg)”

Both gives an error.

---

<div class="post-metadata">

**Author:** ![Rachael\_S](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rachael_s/32/416_2.png) [@Rachael\_S](https://community.wowza.com/u/Rachael_S)\
**Post date:** [April 19, 2018, 1:50pm UTC](https://community.wowza.com/t/url-to-player-logo-image/51138/2 "2018-04-19T13:50:24Z")

</div>

You can fix this by converting your image files to base64-encoded strings and including those in your request instead of URLs. An image file for a hosted page logo, player logo, or player video poster image must be included in the API request as a base64-encoded string string representation of a GIF, JPEG, or PNG file.
