Problem Description

If you encounter the following error while attempting to sign a message or execute user operations with an embedded wallet, particularly when Account Abstraction (AA) is enabled:

[TK] failed to perform SignMessage activity TurnkeyActivityError: Failed to sign: The JWK's "y" member defines an octet string of length 31 bytes but should be 32

This issue typically occurs due to an outdated version of the Dynamic SDK. To resolve this, please ensure that you have upgraded to the latest v3 or v2 versions of all @dynamic-labs/* packages.

Was this page helpful?