# Bad gateway 504 when trying to access images

**URL:** https://community.brain-map.org/t/bad-gateway-504-when-trying-to-access-images/3953
**Category:** Technical
**Created:** [December 9, 2024, 2:18pm UTC](https://community.brain-map.org/t/bad-gateway-504-when-trying-to-access-images/3953 "2024-12-09T14:18:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tal2tal2](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@tal2tal2](https://community.brain-map.org/u/tal2tal2)
#### Post date: [December 9, 2024, 2:18pm UTC](https://community.brain-map.org/t/bad-gateway-504-when-trying-to-access-images/3953/1 "2024-12-09T14:18:04Z")

</div>

hi

when trying to reach brain scans from the site the api times out and gives a 504 bad gateway  
attached are a few example links i tried if it helps for debugging, i can get the jsons from the site pointing to them but cannot access the actual photos  
[http://api.brain-map.org/api/v2/image\_download/102152065?downsample=3](http://api.brain-map.org/api/v2/image_download/102152065?downsample=3)  
[http://api.brain-map.org/api/v2/image\_download/102153269](http://api.brain-map.org/api/v2/image_download/102153269)

thank you in advance!

---

<div class="post-metadata">

### Author: ![SvenOtto](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/svenotto/32/893_2.png) [@SvenOtto](https://community.brain-map.org/u/SvenOtto)
#### Post date: [December 13, 2024, 9:03pm UTC](https://community.brain-map.org/t/bad-gateway-504-when-trying-to-access-images/3953/2 "2024-12-13T21:03:20Z")

</div>

Hi @tal2tal2,

Welcome and thank you for bringing this issue to our attention.

Our engineers have addressed the underlying issues. Could you give things another try and see if it works for you again as well?

Cheers!

---

<div class="post-metadata">

### Author: ![tal2tal2](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@tal2tal2](https://community.brain-map.org/u/tal2tal2)
#### Post date: [December 15, 2024, 10:23am UTC](https://community.brain-map.org/t/bad-gateway-504-when-trying-to-access-images/3953/3 "2024-12-15T10:23:37Z")

</div>

thank you, it seems to have solved my issue 😃
