# \[Archive\] torusPlugin.initiateTopup

**URL:** <https://builder.metamask.io/t/archive-torusplugin-initiatetopup/1939>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [June 12, 2023, 11:28am UTC](https://builder.metamask.io/t/archive-torusplugin-initiatetopup/1939 "2023-06-12T11:28:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![surajhoysal817](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@surajhoysal817](https://builder.metamask.io/u/surajhoysal817)\
**Post date:** [June 12, 2023, 11:28am UTC](https://builder.metamask.io/t/archive-torusplugin-initiatetopup/1939/1 "2023-06-12T11:28:00Z")

</div>

> **🏛 Archived Content from Web3Auth Community**
> 
> This topic was originally posted by **surajhoysal817** on 6/12/2023.  
> This content has been migrated from our previous community forum to preserve valuable discussions.

* * *

[![image](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/2X/2/21db3efd77d8caa0148408da7694f7372f59869e.png)
image1920×1080 191 KB
](https://community.web3auth.io/community/community/uploads/default/original/1X/a5ac62693389b4dbe60feb4b9e69437ee03572de.png "image")
  
I am getting the above error when user close’s the pop up triggered for topup using torusPlugin.initiateTopup()

---

<div class="post-metadata">

**Author:** ![shahbaz](https://yyz1.discourse-cdn.com/flex011/user_avatar/builder.metamask.io/shahbaz/32/1527_2.png) [@shahbaz](https://builder.metamask.io/u/shahbaz)\
**Post date:** [June 14, 2023, 9:00am UTC](https://builder.metamask.io/t/archive-torusplugin-initiatetopup/1939/2 "2023-06-14T09:00:30Z")

</div>

> [@surajhoysal817](#):
>
> above error when user close’s the pop up

Hello @surajhoysal817,

This is anticipated behavior. Please wrap it in a try-catch block.
