# \[Archive\] InitializationError: Invalid constructor params, network or sdk url

**URL:** <https://builder.metamask.io/t/archive-initializationerror-invalid-constructor-params-network-or-sdk-url/1729>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [October 17, 2023, 8:10am UTC](https://builder.metamask.io/t/archive-initializationerror-invalid-constructor-params-network-or-sdk-url/1729 "2023-10-17T08:10:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![neera.choudhary](https://avatars.discourse-cdn.com/v4/letter/n/a8b319/32.png) [@neera.choudhary](https://builder.metamask.io/u/neera.choudhary)\
**Post date:** [October 17, 2023, 8:10am UTC](https://builder.metamask.io/t/archive-initializationerror-invalid-constructor-params-network-or-sdk-url/1729/1 "2023-10-17T08:10:08Z")

</div>

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

* * *

“@web3auth/base”: “^6.1.6”,  
“@web3auth/base-provider”: “^6.1.6”,  
“@web3auth/ethereum-provider”: “^6.1.6”,  
“@web3auth/no-modal”: “^6.1.6”,  
“@web3auth/openlogin-adapter”: “^6.1.6”,

Web application

[![Screenshot 2023-10-17 at 1.38.36 PM](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/2X/d/dc5892d362cfbe3fc27239b61bcbb87ed2a59b06.png)
Screenshot 2023-10-17 at 1.38.36 PM2940×578 95.7 KB
](https://web3auth.io/community/uploads/default/original/2X/9/9987823b3788c546fc8352946547fe889feaaed0.png "Screenshot 2023-10-17 at 1.38.36 PM")

---

<div class="post-metadata">

**Author:** ![vjgee](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@vjgee](https://builder.metamask.io/u/vjgee)\
**Post date:** [October 17, 2023, 8:17am UTC](https://builder.metamask.io/t/archive-initializationerror-invalid-constructor-params-network-or-sdk-url/1729/2 "2023-10-17T08:17:47Z")

</div>

@neera.choudhary Thanks for your recent post.

Can you please upgrade to the latest SDK version V7? [@web3auth/no-modal - npm](https://www.npmjs.com/package/@web3auth/no-modal)

 ![](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/1X/4bea15d5fdfd372b2e7fae21263c61fab3da9379.png)

```
  <a href="https://web3auth.io/docs/pnp/migration-guides/no-modal-v6-to-v7" target="_blank" rel="noopener">web3auth.io</a>

```

### [PnP No Modal SDK - v6 to v7 | Documentation | Web3Auth](https://web3auth.io/docs/pnp/migration-guides/no-modal-v6-to-v7)

PnP No Modal SDK - v6 to v7 | Documentation - Web3Auth

---

<div class="post-metadata">

**Author:** ![neera.choudhary](https://avatars.discourse-cdn.com/v4/letter/n/a8b319/32.png) [@neera.choudhary](https://builder.metamask.io/u/neera.choudhary)\
**Post date:** [October 17, 2023, 6:39pm UTC](https://builder.metamask.io/t/archive-initializationerror-invalid-constructor-params-network-or-sdk-url/1729/3 "2023-10-17T18:39:32Z")

</div>

Thank you, @vjgee. I’ve successfully updated the version as per your instructions, and I was able to set up the Sapphire Devnet. However, I’m encountering an issue with the Gas Station Network (GSN) for gasless transactions after the update - the “getting signature is not correct” error.

[![image](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/2X/6/6631cf5edab7699f9d8f9f7e114b4654e7d2f456.png)
image1883×412 48.7 KB
](https://web3auth.io/community/uploads/default/original/2X/0/0a5e904a71007622fdac2cf61ee153c8197a332d.png "image")

---

<div class="post-metadata">

**Author:** ![vjgee](https://avatars.discourse-cdn.com/v4/letter/v/b5e925/32.png) [@vjgee](https://builder.metamask.io/u/vjgee)\
**Post date:** [October 18, 2023, 6:14am UTC](https://builder.metamask.io/t/archive-initializationerror-invalid-constructor-params-network-or-sdk-url/1729/4 "2023-10-18T06:14:51Z")

</div>

Can you share your implementation code please?

---

<div class="post-metadata">

**Author:** ![neera.choudhary](https://avatars.discourse-cdn.com/v4/letter/n/a8b319/32.png) [@neera.choudhary](https://builder.metamask.io/u/neera.choudhary)\
**Post date:** [October 18, 2023, 3:27pm UTC](https://builder.metamask.io/t/archive-initializationerror-invalid-constructor-params-network-or-sdk-url/1729/5 "2023-10-18T15:27:28Z")

</div>

[![image](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/2X/a/a842b286105d03492f2f3c1b13e9b615a3769c35.png)
image1148×1060 97.8 KB
](https://web3auth.io/community/uploads/default/original/2X/e/e64c8106d85add1e2b787f79b3a285119a355982.png "image")
  
@vjgee I have attached the implementation part, now the variable holding connectTo response is also of IProvider type, if you want to have a complete look at the code - we can have a call where I can give you the thorough walkthrough of the code
