# Exception caught by image resource service

**URL:** <https://community.sendbird.com/t/exception-caught-by-image-resource-service/5399>\
**Category:** Flutter\
**Created:** [August 25, 2022, 4:55am UTC](https://community.sendbird.com/t/exception-caught-by-image-resource-service/5399 "2022-08-25T04:55:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![linhxeom](https://avatars.discourse-cdn.com/v4/letter/l/aca169/32.png) [@linhxeom](https://community.sendbird.com/u/linhxeom)\
**Post date:** [August 25, 2022, 4:55am UTC](https://community.sendbird.com/t/exception-caught-by-image-resource-service/5399/1 "2022-08-25T04:55:09Z")

</div>

Hi everyone,  
I have a issue when I send a fileMessage to sendBird, my DashChat not show image and print error notification:

HttpException: Invalid statusCode: 401, uri = [https://file-us-1.sendbird.com/9575c2fd45a64003b9541a33c742682a.jpg](https://file-us-1.sendbird.com/9575c2fd45a64003b9541a33c742682a.jpg)

I open my picture by url and page show: Not authorized.

Can you help me, thank you.

---

<div class="post-metadata">

**Author:** ![Arone\_Jerome](https://avatars.discourse-cdn.com/v4/letter/a/ecccb3/32.png) [@Arone\_Jerome](https://community.sendbird.com/u/Arone_Jerome)\
**Post date:** [September 5, 2022, 3:51am UTC](https://community.sendbird.com/t/exception-caught-by-image-resource-service/5399/2 "2022-09-05T03:51:03Z")

</div>

try to use the secureUrl.

---

<div class="post-metadata">

**Author:** ![hss-sjr](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/hss-sjr/32/3298_2.png) [@hss-sjr](https://community.sendbird.com/u/hss-sjr)\
**Post date:** [November 23, 2022, 3:58am UTC](https://community.sendbird.com/t/exception-caught-by-image-resource-service/5399/3 "2022-11-23T03:58:28Z")

</div>

Hi @linhxeom , were you able to fix this? My secure url does not have the signature unlike when I try to open the image via dashboard.

---

<div class="post-metadata">

**Author:** ![hss-sjr](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/hss-sjr/32/3298_2.png) [@hss-sjr](https://community.sendbird.com/u/hss-sjr)\
**Post date:** [November 23, 2022, 5:47am UTC](https://community.sendbird.com/t/exception-caught-by-image-resource-service/5399/4 "2022-11-23T05:47:27Z")

</div>

Kindly ignore this. Figured it out. Just needed to add the api key to the header.
