# Secret Network (SCRT) with API sync: api returned 502 bad gateway

**URL:** <https://discuss.koinly.io/t/secret-network-scrt-with-api-sync-api-returned-502-bad-gateway/16422>\
**Category:** Koinly Support\
**Created:** [January 22, 2023, 1:23pm UTC](https://discuss.koinly.io/t/secret-network-scrt-with-api-sync-api-returned-502-bad-gateway/16422 "2023-01-22T13:23:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgFSFGPNSEFPNSEF](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/pgfsfgpnsefpnsef/32/1006_2.png) [@pgFSFGPNSEFPNSEF](https://discuss.koinly.io/u/pgFSFGPNSEFPNSEF)\
**Post date:** [January 22, 2023, 1:23pm UTC](https://discuss.koinly.io/t/secret-network-scrt-with-api-sync-api-returned-502-bad-gateway/16422/1 "2023-01-22T13:23:40Z")

</div>

I am trying to import activity from the Secret Network (SCRT) blockchain with Koinly’s API import. I connect the address but after some minutes, it returns the message in red: “api returned 502 bad gateway (502), try again later.”

I have deleted and re-tried over several days but it always shows the same message. Has anyone had any luck?

---

<div class="post-metadata">

**Author:** ![jackmatt2](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/jackmatt2/32/924_2.png) [@jackmatt2](https://discuss.koinly.io/u/jackmatt2)\
**Post date:** [January 23, 2023, 8:44am UTC](https://discuss.koinly.io/t/secret-network-scrt-with-api-sync-api-returned-502-bad-gateway/16422/2 "2023-01-23T08:44:34Z")

</div>

I’m getting the same error

---

<div class="post-metadata">

**Author:** ![sogowo](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/sogowo/32/7364_2.png) [@sogowo](https://discuss.koinly.io/u/sogowo)\
**Post date:** [February 4, 2023, 2:52pm UTC](https://discuss.koinly.io/t/secret-network-scrt-with-api-sync-api-returned-502-bad-gateway/16422/3 "2023-02-04T14:52:03Z")

</div>

I’m also getting this error - as are others. It seems to be on other cosmos based chains as well (osmosis, cosmos hub).

> [@SCRT Sync not working](https://discuss.koinly.io/t/scrt-sync-not-working/16435):
>
> I have been recieving this error below for about 4 days now in a row. This used to work and I can verify the API is working for other services on the scrt network so I assume this is on Koinly’s side. “api returned 502 bad gateway (502), try again later”

devs do something?

---

<div class="post-metadata">

**Author:** ![Ali\_Koinly](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/ali_koinly/32/8406_2.png) [@Ali\_Koinly](https://discuss.koinly.io/u/Ali_Koinly)\
**Post date:** [February 5, 2023, 6:11pm UTC](https://discuss.koinly.io/t/secret-network-scrt-with-api-sync-api-returned-502-bad-gateway/16422/4 "2023-02-05T18:11:23Z")

</div>

Hi

This will be resolved within a week, it is currently in progress

> **[Koinly](https://feedback.koinly.io/data-import-issues/p/cosmos-sdk-api-osmosis-kava-cryptoorg-api-returned-502-bad-gateway-502-try-again)**

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex052/uploads/koinly_app/original/1X/7ac58e5593a7122893d066794a7254dcdb5ddb31.png) [@system](https://discuss.koinly.io/u/system)\
**Post date:** [February 5, 2023, 9:12pm UTC](https://discuss.koinly.io/t/secret-network-scrt-with-api-sync-api-returned-502-bad-gateway/16422/5 "2023-02-05T21:12:17Z")

</div>

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