Articles on: Troubleshooting Errors

Webcrypto Error

Magic's sdk uses a package called webcrypto, which will occasionally throw an error like this:
webcrypto TypeError: Failed to execute 'sign' on 'SubtleCrypto': 
parameter 2 is not of type 'CryptoKey'.


This shouldn't affect your app's performance or the login flow at all and can be ignored. If you're experiencing any blockers in addition to the webcrypto error, please let us know and we're happy to help out.

Updated on: 25/03/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!