# Getting Issue when creating Dwolla Customer using dwolla swager php

**URL:** <https://discuss.dwolla.com/t/getting-issue-when-creating-dwolla-customer-using-dwolla-swager-php/7993>\
**Category:** Customers\
**Created:** [April 12, 2022, 1:09pm UTC](https://discuss.dwolla.com/t/getting-issue-when-creating-dwolla-customer-using-dwolla-swager-php/7993 "2022-04-12T13:09:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vimal\_k](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/vimal_k/32/3312_2.png) [@vimal\_k](https://discuss.dwolla.com/u/vimal_k)\
**Post date:** [April 12, 2022, 1:09pm UTC](https://discuss.dwolla.com/t/getting-issue-when-creating-dwolla-customer-using-dwolla-swager-php/7993/1 "2022-04-12T13:09:59Z")

</div>

There is no error code showing blank but I received this in exception don’t know why previously it was working for me. Currently, I am using a Sandbox account. Please check this on priority

DwollaSwagger\ApiException {#542 ▼  
#response\_body: null  
#response\_headers: null  
#message: “API call to [https://api-sandbox.dwolla.com/token](https://api-sandbox.dwolla.com/token) timed out: a:37:{s:3:“url”;s:36:“[https://api-sandbox.dwolla.com/token";s:12:“content\_type”;N;s:9:“http\_code”;i:0;s:11:“header\_size”;i:0;s:12:“request\_size”;i:0;s:8:“filetime”;i:-1;s:17:“ssl\_verify\_result”;i:20;s:14:“redirect\_count”;i:0;s:10:“total\_time”;d:0.082244;s:15:“namelookup\_time”;d:0.003341;s:12:“connect\_time”;d:0.038936;s:16:“pretransfer\_time”;d:0;s:11:“size\_upload”;d:0;s:13:“size\_download”;d:0;s:14:“speed\_download”;d:0;s:12:“speed\_upload”;d:0;s:23:“download\_content\_length”;d:-1;s:21:“upload\_content\_length”;d:-1;s:18:“starttransfer\_time”;d:0;s:13:“redirect\_time”;d:0;s:12:“redirect\_url”;s:0:"";s:10:“primary\_ip”;s:13:“104.18.123.12”;s:8:“certinfo”;a:0:{}s:12:“primary\_port”;i:443;s:8:“local\_ip”;s:13:“192.168.101.4”;s:10:“local\_port”;i:63624;s:12:“http\_version”;i:0;s:8:“protocol”;i:2;s:16:“ssl\_verifyresult”;i:0;s:6:“scheme”;s:5:“HTTPS”;s:18:“appconnect\_time\_us”;i:0;s:15:“connect\_time\_us”;i:38936;s:18:“namelookup\_time\_us”;i:3341;s:19:“pretransfer\_time\_us”;i:0;s:16:“redirect\_time\_us”;i:0;s:21:“starttransfer\_time\_us”;i:0;s:13:"total\_time\_us](https://api-sandbox.dwolla.com/token%22;s:12:%22content_type%22;N;s:9:%22http_code%22;i:0;s:11:%22header_size%22;i:0;s:12:%22request_size%22;i:0;s:8:%22filetime%22;i:-1;s:17:%22ssl_verify_result%22;i:20;s:14:%22redirect_count%22;i:0;s:10:%22total_time%22;d:0.082244;s:15:%22namelookup_time%22;d:0.003341;s:12:%22connect_time%22;d:0.038936;s:16:%22pretransfer_time%22;d:0;s:11:%22size_upload%22;d:0;s:13:%22size_download%22;d:0;s:14:%22speed_download%22;d:0;s:12:%22speed_upload%22;d:0;s:23:%22download_content_length%22;d:-1;s:21:%22upload_content_length%22;d:-1;s:18:%22starttransfer_time%22;d:0;s:13:%22redirect_time%22;d:0;s:12:%22redirect_url%22;s:0:%22%22;s:10:%22primary_ip%22;s:13:%22104.18.123.12%22;s:8:%22certinfo%22;a:0:%7B%7Ds:12:%22primary_port%22;i:443;s:8:%22local_ip%22;s:13:%22192.168.101.4%22;s:10:%22local_port%22;i:63624;s:12:%22http_version%22;i:0;s:8:%22protocol%22;i:2;s:16:%22ssl_verifyresult%22;i:0;s:6:%22scheme%22;s:5:%22HTTPS%22;s:18:%22appconnect_time_us%22;i:0;s:15:%22connect_time_us%22;i:38936;s:18:%22namelookup_time_us%22;i:3341;s:19:%22pretransfer_time_us%22;i:0;s:16:%22redirect_time_us%22;i:0;s:21:%22starttransfer_time_us%22;i:0;s:13:%22total_time_us)”;i:82244;} ◀”  
#code: 0  
#file: “D:\xampp\htdocs\KlickChing\_admin\vendor\dwolla\dwollaswagger\lib\ApiClient.php”  
#line: 308  
trace: {▶}

---

<div class="post-metadata">

**Author:** ![shreya](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/shreya/32/2154_2.png) [@shreya](https://discuss.dwolla.com/u/shreya)\
**Post date:** [April 12, 2022, 3:24pm UTC](https://discuss.dwolla.com/t/getting-issue-when-creating-dwolla-customer-using-dwolla-swager-php/7993/2 "2022-04-12T15:24:46Z")

</div>

Hi @vimal_k – what’s your Sandbox account ID? Are you consistently getting these timeout errors when hitting the /token endpoint?

Occasional timeouts are expected, and we recommend that you retry requests when you run into them. Make sure to use [idempotency-keys](https://developers.dwolla.com/api-reference#idempotency-key) with your requests to prevent duplicate requests from processing.

---

<div class="post-metadata">

**Author:** ![Mohammad\_Javed\_khan](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/mohammad_javed_khan/32/3465_2.png) [@Mohammad\_Javed\_khan](https://discuss.dwolla.com/u/Mohammad_Javed_khan)\
**Post date:** [April 13, 2022, 5:55am UTC](https://discuss.dwolla.com/t/getting-issue-when-creating-dwolla-customer-using-dwolla-swager-php/7993/3 "2022-04-13T05:55:23Z")

</div>

Can you help me out i am getting exception when creating account in sandbox using laravel PHP

DwollaSwagger\ApiException {#542 ▼  
#response\_body: null  
#response\_headers: null  
#message: “API call to [https://api-sandbox.dwolla.com/token](https://api-sandbox.dwolla.com/token) timed out: a:37:{s:3:“url”;s:36:“[https://api-sandbox.dwolla.com/token";s:12:“content\_type”;N;s:9:“http\_code”;i:0;s:11:“header\_size”;i:0;s:12:“request\_size”;i:0;s:8:“filetime”;i:-1;s:17:“ssl\_verify\_result”;i:20;s:14:“redirect\_count”;i:0;s:10:“total\_time”;d:0.123356;s:15:“namelookup\_time”;d:0.042251;s:12:“connect\_time”;d:0.078174;s:16:“pretransfer\_time”;d:0;s:11:“size\_upload”;d:0;s:13:“size\_download”;d:0;s:14:“speed\_download”;d:0;s:12:“speed\_upload”;d:0;s:23:“download\_content\_length”;d:-1;s:21:“upload\_content\_length”;d:-1;s:18:“starttransfer\_time”;d:0;s:13:“redirect\_time”;d:0;s:12:“redirect\_url”;s:0:"";s:10:“primary\_ip”;s:13:“104.18.123.12”;s:8:“certinfo”;a:0:{}s:12:“primary\_port”;i:443;s:8:“local\_ip”;s:13:“192.168.101.4”;s:10:“local\_port”;i:55549;s:12:“http\_version”;i:0;s:8:“protocol”;i:2;s:16:“ssl\_verifyresult”;i:0;s:6:“scheme”;s:5:“HTTPS”;s:18:“appconnect\_time\_us”;i:0;s:15:“connect\_time\_us”;i:78174;s:18:“namelookup\_time\_us”;i:42251;s:19:“pretransfer\_time\_us”;i:0;s:16:“redirect\_time\_us”;i:0;s:21:“starttransfer\_time\_us”;i:0;s:13:"total\_time\_us](https://api-sandbox.dwolla.com/token%22;s:12:%22content_type%22;N;s:9:%22http_code%22;i:0;s:11:%22header_size%22;i:0;s:12:%22request_size%22;i:0;s:8:%22filetime%22;i:-1;s:17:%22ssl_verify_result%22;i:20;s:14:%22redirect_count%22;i:0;s:10:%22total_time%22;d:0.123356;s:15:%22namelookup_time%22;d:0.042251;s:12:%22connect_time%22;d:0.078174;s:16:%22pretransfer_time%22;d:0;s:11:%22size_upload%22;d:0;s:13:%22size_download%22;d:0;s:14:%22speed_download%22;d:0;s:12:%22speed_upload%22;d:0;s:23:%22download_content_length%22;d:-1;s:21:%22upload_content_length%22;d:-1;s:18:%22starttransfer_time%22;d:0;s:13:%22redirect_time%22;d:0;s:12:%22redirect_url%22;s:0:%22%22;s:10:%22primary_ip%22;s:13:%22104.18.123.12%22;s:8:%22certinfo%22;a:0:%7B%7Ds:12:%22primary_port%22;i:443;s:8:%22local_ip%22;s:13:%22192.168.101.4%22;s:10:%22local_port%22;i:55549;s:12:%22http_version%22;i:0;s:8:%22protocol%22;i:2;s:16:%22ssl_verifyresult%22;i:0;s:6:%22scheme%22;s:5:%22HTTPS%22;s:18:%22appconnect_time_us%22;i:0;s:15:%22connect_time_us%22;i:78174;s:18:%22namelookup_time_us%22;i:42251;s:19:%22pretransfer_time_us%22;i:0;s:16:%22redirect_time_us%22;i:0;s:21:%22starttransfer_time_us%22;i:0;s:13:%22total_time_us)”;i:123356;} ◀”  
#code: 0  
#file: “D:\xampp\htdocs\KlickChing\_admin\vendor\dwolla\dwollaswagger\lib\ApiClient.php”  
#line: 308  
trace: {▶}  
}

---

<div class="post-metadata">

**Author:** ![shreya](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/shreya/32/2154_2.png) [@shreya](https://discuss.dwolla.com/u/shreya)\
**Post date:** [April 13, 2022, 2:52pm UTC](https://discuss.dwolla.com/t/getting-issue-when-creating-dwolla-customer-using-dwolla-swager-php/7993/4 "2022-04-13T14:52:06Z")

</div>

Hi @Mohammad_Javed_khan – thanks for reporting! Are there any timestamps you can share when these timeouts occurred and/or any request IDs?
