# Fetching dwolla account funding sources giving fetch error on production environment with reason Socket hang up

**URL:** <https://discuss.dwolla.com/t/fetching-dwolla-account-funding-sources-giving-fetch-error-on-production-environment-with-reason-socket-hang-up/7695>\
**Category:** API Support\
**Created:** [December 24, 2021, 9:23am UTC](https://discuss.dwolla.com/t/fetching-dwolla-account-funding-sources-giving-fetch-error-on-production-environment-with-reason-socket-hang-up/7695 "2021-12-24T09:23:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zubaria](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/zubaria/32/3256_2.png) [@Zubaria](https://discuss.dwolla.com/u/Zubaria)\
**Post date:** [December 24, 2021, 9:23am UTC](https://discuss.dwolla.com/t/fetching-dwolla-account-funding-sources-giving-fetch-error-on-production-environment-with-reason-socket-hang-up/7695/1 "2021-12-24T09:23:52Z")

</div>

Hi,

I have making transfers on production and for that I fetch dwolla account (dwolla master accounts) and get get funding source from there, At the time of fetch my account funding sources, I am getting this error  
`FetchError: request to https://api.dwolla.com/accounts/account-id-here/funding-sources failed, reason: socket hang up`.

Same is working fine on sandbox.

Please help in that regard.

---

<div class="post-metadata">

**Author:** ![Zubaria](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/zubaria/32/3256_2.png) [@Zubaria](https://discuss.dwolla.com/u/Zubaria)\
**Post date:** [December 24, 2021, 1:15pm UTC](https://discuss.dwolla.com/t/fetching-dwolla-account-funding-sources-giving-fetch-error-on-production-environment-with-reason-socket-hang-up/7695/2 "2021-12-24T13:15:55Z")

</div>

Please update on this ASAP!

---

<div class="post-metadata">

**Author:** ![spencer](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/spencer/32/2143_2.png) [@spencer](https://discuss.dwolla.com/u/spencer)\
**Post date:** [December 27, 2021, 9:02pm UTC](https://discuss.dwolla.com/t/fetching-dwolla-account-funding-sources-giving-fetch-error-on-production-environment-with-reason-socket-hang-up/7695/3 "2021-12-27T21:02:03Z")

</div>

Hi @Zubaria , do you have the account ID of the account you’re attempting to fetch a list of funding sources for? As an aside, this looks like an error from a library you’re using and not an error from the API. Are you using a Dwolla supported SDK or a third party REST client?

---

<div class="post-metadata">

**Author:** ![Zubaria](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/zubaria/32/3256_2.png) [@Zubaria](https://discuss.dwolla.com/u/Zubaria)\
**Post date:** [December 28, 2021, 6:25am UTC](https://discuss.dwolla.com/t/fetching-dwolla-account-funding-sources-giving-fetch-error-on-production-environment-with-reason-socket-hang-up/7695/4 "2021-12-28T06:25:53Z")

</div>

This is the account ID `6b8b2565-cc9f-48a3-8e11-e1a28b8f4b3b` using to fetch funding sources. I am using [dwolla-v2](https://www.npmjs.com/package/dwolla-v2) SDK and it is supported by Dwolla.

---

<div class="post-metadata">

**Author:** ![spencer](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/spencer/32/2143_2.png) [@spencer](https://discuss.dwolla.com/u/spencer)\
**Post date:** [December 28, 2021, 5:26pm UTC](https://discuss.dwolla.com/t/fetching-dwolla-account-funding-sources-giving-fetch-error-on-production-environment-with-reason-socket-hang-up/7695/5 "2021-12-28T17:26:09Z")

</div>

@Zubaria , Apologies, I am not seeing anything abnormal about your API traffic that would result in connection issues // timeouts. Is this a repeated error and have you done some additional debugging on your end?

---

<div class="post-metadata">

**Author:** ![Zubaria](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/zubaria/32/3256_2.png) [@Zubaria](https://discuss.dwolla.com/u/Zubaria)\
**Post date:** [December 29, 2021, 3:51pm UTC](https://discuss.dwolla.com/t/fetching-dwolla-account-funding-sources-giving-fetch-error-on-production-environment-with-reason-socket-hang-up/7695/6 "2021-12-29T15:51:01Z")

</div>

Hi,

It is a repeated error, I have debugged on sandbox, everything related to **transfers** working perfectly fine in sandbox but on production it is throwing errors.  
Errors that I am facing are threaded in the topic.

Can you please also help me in regard to call dwolla api through the postman from the production url? Which authorization token I need to give there. In production, there is no option to create a token as we have in sandbox. I tried with `Bearer Base64(client-key:client-secret)` as given in the documentation. But not working.

---

<div class="post-metadata">

**Author:** ![Zubaria](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/zubaria/32/3256_2.png) [@Zubaria](https://discuss.dwolla.com/u/Zubaria)\
**Post date:** [December 29, 2021, 3:58pm UTC](https://discuss.dwolla.com/t/fetching-dwolla-account-funding-sources-giving-fetch-error-on-production-environment-with-reason-socket-hang-up/7695/7 "2021-12-29T15:58:12Z")

</div>

Also, could you please confirm the reason why every customer on my account puts into retry state and then have to verify again, as customers are providing DOB and last 4 digit SSN.

---

<div class="post-metadata">

**Author:** ![Zubaria](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/zubaria/32/3256_2.png) [@Zubaria](https://discuss.dwolla.com/u/Zubaria)\
**Post date:** [December 29, 2021, 3:58pm UTC](https://discuss.dwolla.com/t/fetching-dwolla-account-funding-sources-giving-fetch-error-on-production-environment-with-reason-socket-hang-up/7695/8 "2021-12-29T15:58:28Z")

</div>

This is all related to production.
