# SBDUser.profileUrl is empty( "")

**URL:** https://community.sendbird.com/t/sbduser-profileurl-is-empty/814
**Category:** iOS
**Tags:** group-channel
**Created:** [August 17, 2020, 3:18pm UTC](https://community.sendbird.com/t/sbduser-profileurl-is-empty/814 "2020-08-17T15:18:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Cris\_Warren](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/cris_warren/32/130_2.png) [@Cris\_Warren](https://community.sendbird.com/u/Cris_Warren)
#### Post date: [August 17, 2020, 3:18pm UTC](https://community.sendbird.com/t/sbduser-profileurl-is-empty/814/1 "2020-08-17T15:18:14Z")

</div>

in some instances the profile photo for certain users returns empty, I even checked the sendbird dashboard for that user and it does contain an image, when the channel is first inserted it contains the image, but when getting the data for cache channel.serialize(), we use core data so we just store the data returned by serialize. after we retrieve the cached channel(SBDGroupChannel.build(fromSerializedData: channelData.0)) the profile URL for the user is gone("")

- SendBirdSDK (3.0.197)
- SendBirdSyncManager (1.1.27):
  - SendBirdSDK (~\> 3.0.178)

---

<div class="post-metadata">

### Author: ![Alex\_Preston](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/alex_preston/32/167_2.png) [@Alex\_Preston](https://community.sendbird.com/u/Alex_Preston)
#### Post date: [August 17, 2020, 8:34pm UTC](https://community.sendbird.com/t/sbduser-profileurl-is-empty/814/2 "2020-08-17T20:34:46Z")

</div>

Hey @Cris_Warren,

Are you saying you can verify that the urls are being saved locally when you call serialize() and save?

---

<div class="post-metadata">

### Author: ![Cris\_Warren](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/cris_warren/32/130_2.png) [@Cris\_Warren](https://community.sendbird.com/u/Cris_Warren)
#### Post date: [August 17, 2020, 8:50pm UTC](https://community.sendbird.com/t/sbduser-profileurl-is-empty/814/3 "2020-08-17T20:50:49Z")

</div>

before calling **serialize** the URL is valid, the only way to know if it was saved is to build the **SBDGroupChannel.build** at which point in some cases for some members the URL is gone. this happens on different devices for the same member on the same channel. at which point the url might have gone missing either on **serialize or build**.

---

<div class="post-metadata">

### Author: ![Alex\_Preston](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/alex_preston/32/167_2.png) [@Alex\_Preston](https://community.sendbird.com/u/Alex_Preston)
#### Post date: [August 17, 2020, 9:09pm UTC](https://community.sendbird.com/t/sbduser-profileurl-is-empty/814/4 "2020-08-17T21:09:59Z")

</div>

Oh so it is reproducible for the same member/channel across devices?

---

<div class="post-metadata">

### Author: ![Cris\_Warren](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/cris_warren/32/130_2.png) [@Cris\_Warren](https://community.sendbird.com/u/Cris_Warren)
#### Post date: [August 17, 2020, 9:22pm UTC](https://community.sendbird.com/t/sbduser-profileurl-is-empty/814/5 "2020-08-17T21:22:39Z")

</div>

So Far yes, a test user noticed the error on his chat with another user, and when I created my chat with the user with the bug the same issue happened it’s more member related rather than channel… but yes.

---

<div class="post-metadata">

### Author: ![Alex\_Preston](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/alex_preston/32/167_2.png) [@Alex\_Preston](https://community.sendbird.com/u/Alex_Preston)
#### Post date: [August 17, 2020, 9:26pm UTC](https://community.sendbird.com/t/sbduser-profileurl-is-empty/814/6 "2020-08-17T21:26:35Z")

</div>

Do you mind sending me in DM both userId, and profileUrl? To see if anything looks off.
