# Retrieve wrong link for user profile image when using zoom api

**URL:** <https://devforum.zoom.us/t/retrieve-wrong-link-for-user-profile-image-when-using-zoom-api/103397>\
**Category:** API and Webhooks\
**Created:** [February 7, 2024, 1:56pm UTC](https://devforum.zoom.us/t/retrieve-wrong-link-for-user-profile-image-when-using-zoom-api/103397 "2024-02-07T13:56:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![schen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/schen/32/56170_2.png) [@schen](https://devforum.zoom.us/u/schen)\
**Post date:** [February 7, 2024, 1:56pm UTC](https://devforum.zoom.us/t/retrieve-wrong-link-for-user-profile-image-when-using-zoom-api/103397/1 "2024-02-07T13:56:09Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**  
The end point is [https [api[dot]zoom[dot]us /v2/users/{user\_id}]  
I used our email address as the user\_id, ie the end point is https[api[dot]zoom[dot]us /v2/users/johndoe@galencollege.edu]

**Description**  
In the screenshot, you will see user1 [xxx@galencollege.edu] The end point is https[api[dot]zoom[dot]us /v2/users/xxx@galencollege.edu]

1. From the Galen Zoom user management website, the profile image is https[images[dot]zoom[dot]us /p/v2/4b303a8d96ae07b557734c1adcceb3de1338946ec827131f8e22eac2075aac67/f3d85acc-[hashxxx]-2046]. This is valid
2. But from API call, the pic\_url is https[galen][dot]zoom[dot]us /p/v2/4b303a8d96ae07b557734c1adcceb3de1338946ec827131f8e22eac2075aac67/f3d85acc-[hashxxx]-2046]. This is NOT valid if you try to download the image.

On the other hand, for my own user: [yyy@galencollege.edu]

1. Zoom user management, the profile image is https[images[dot]zoom[dot]us /p/kOImT-HVTW6y9eT74p-OVA/b5413951-cc9e-[hashyyy]?type=large]
2. From API call, it is https[galen[dot]zoom[dot]us /p/kOImT-HVTW6y9eT74p-OVA/b5413951-[hashyyy]]

Both links are valid despite the difference in domain names: galen[dot]zoom[dot]us  
vs image[dot]zoom[dot]us

**Error?**  
The API returns the wrong domain name for the user profile image:  
galen[dot]zoom[dot]us  
image[dot]zoom[dot]us

Should the domain use image[dot]zoom[dot]us for all?

sorry, as a new user, I can’t post more than 2 links in my message. I had to disguise the link as [dot]zoom[dot]us

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [February 22, 2024, 4:22am UTC](https://devforum.zoom.us/t/retrieve-wrong-link-for-user-profile-image-when-using-zoom-api/103397/2 "2024-02-22T04:22:34Z")

</div>

@schen ,

Thank you for posting in the Zoom Developer Forum. I’m having difficulty understanding the issue. Could you share the API response with personal information omitted? This would help identify what might be happening.

---

<div class="post-metadata">

**Author:** ![schen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/schen/32/56170_2.png) [@schen](https://devforum.zoom.us/u/schen)\
**Post date:** [February 22, 2024, 2:08pm UTC](https://devforum.zoom.us/t/retrieve-wrong-link-for-user-profile-image-when-using-zoom-api/103397/3 "2024-02-22T14:08:15Z")

</div>

@donte.zoom  
Thank you for the reply. In short, for some users, the API returns the user profile image URL is [galen.zoom.us/](http://galen.zoom.us/)… but the image can’t be displayed. The image is actually at [images.zoom.us/](http://images.zoom.us/)…

I can’t attach the screenshots. Got 422 error.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 5, 2024, 7:10am UTC](https://devforum.zoom.us/t/retrieve-wrong-link-for-user-profile-image-when-using-zoom-api/103397/4 "2024-03-05T07:10:30Z")

</div>

Thank you for your reply! Are you suggesting that the API modifies the uploaded image name, or does it work only when the image file is at a certain location (i.e. [mages.zoom.us/](http://mages.zoom.us/))

---

<div class="post-metadata">

**Author:** ![schen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/schen/32/56170_2.png) [@schen](https://devforum.zoom.us/u/schen)\
**Post date:** [March 5, 2024, 1:47pm UTC](https://devforum.zoom.us/t/retrieve-wrong-link-for-user-profile-image-when-using-zoom-api/103397/5 "2024-03-05T13:47:22Z")

</div>

Yes, I believe Zoom API has a bug. It reports some users’ profile images are at our domain [galen.zoom.us](http://galen.zoom.us), but they can’t be reached. They are at [images.zoom.us](http://images.zoom.us).

It doesn’t happen to all our users. Only to a few. If you provide me an email, I can send the example with the user ids.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 5, 2024, 2:47pm UTC](https://devforum.zoom.us/t/retrieve-wrong-link-for-user-profile-image-when-using-zoom-api/103397/6 "2024-03-05T14:47:36Z")

</div>

@schen  
Is this behavior reproducible? For instance, if you remove the profile image and then add it again, does the same issue occur? If so, could you share a video or screenshot of the behavior? This will allow me to look into it further if necessary.

---

<div class="post-metadata">

**Author:** ![schen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/schen/32/56170_2.png) [@schen](https://devforum.zoom.us/u/schen)\
**Post date:** [April 4, 2024, 5:21pm UTC](https://devforum.zoom.us/t/retrieve-wrong-link-for-user-profile-image-when-using-zoom-api/103397/7 "2024-04-04T17:21:38Z")

</div>

Hi, Donte:  
I believe the Zoom API might fix this. All of our profile images at galen(dot)zoom(dot)us are valid now.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [April 9, 2024, 2:06am UTC](https://devforum.zoom.us/t/retrieve-wrong-link-for-user-profile-image-when-using-zoom-api/103397/8 "2024-04-09T02:06:50Z")

</div>

Closed on April 9, 2024, 2:06am UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [April 9, 2024, 2:07am UTC](https://devforum.zoom.us/t/retrieve-wrong-link-for-user-profile-image-when-using-zoom-api/103397/9 "2024-04-09T02:07:31Z")

</div>

Awesome to hear, thanks for update, @schen !
