Getting error while upgrading the tKey JS SDK from v9.0.0 to v12.0.0

After upgrading it to v12.0.0, I saw there are some breaking changes which is fine, but the error is coming at the time of tiggerLogin with the below error:

{
    "code": 1001,
    "error": "Invalid Web3Auth client id, obtain a client ID at https://dashboard.web3auth.io",
    "success": false
}

As per the error the Web3Auth client id is invalid, I have checked the Client id it seems right to me?

  • SDK Version:
  • @tkey/common-types”: “^9.0.0”,
    @tkey/default”: “^9.0.1”,
    @tkey/security-questions”: “^9.0.0”,
    @tkey/service-provider-torus”: “^9.0.0”,
    @tkey/storage-layer-torus”: “^9.0.0”,
    @tkey/web-storage”: “^9.0.0”,
    @toruslabs/customauth”: “^13.0.0”,
    @web3auth/base”: “^6.1.1”,
    @web3auth/ethereum-provider”: “^6.1.5”,
  • Platform: Web browser/JS
  • Browser Console Screenshots:

Request header for the API call:

Please kindly help me for the same and let me know if something else is required from my side.

Hi @kshitij.dean.sam
I’m really sorry for the delay in getting back to you. I understand how important this is, and I want to ensure you receive the most accurate and helpful information possible. I’m going to discuss this with our team to provide you with a precise answer. Thank you for your patience and understanding. I’ll follow up with you as soon as I have more information.

Hey @kshitij.dean.sam,

Based on the error message you’re encountering, it seems like the issue might stem from the submission of an incorrect client ID. Please ensure you’re using the correct client ID that corresponds to your project, especially since it is seen in the headers screenshot that your verifier is zbyte-aqua-dev. Alongside this, verify that the client ID you’re sending is indeed associated with a project that uses this specific verifier.

Additionally, please check to confirm that your account is on the Growth plan or higher, as this could also influence the functionality you’re accessing.

Addressing these points should help resolve the errors you’re experiencing. If you continue to face challenges or have any questions, don’t hesitate to reach out for further assistance.

Thank you for the suggestion, sure I will check the plan because I have verified the client id multiple time.

Hi @maharshi,

I have checked and also tried to do the same, but still getting the same error.

  • I have check the plan, it’s a Growth Plan.
  • And Web3Auth Client Id is also right.

Can you please help me on the same and let me know if you required any additional info from my side.