You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to export a wallet via API, the requests to https://api.turnkey.com/public/v1/submit/export_wallet or https://api.turnkey.com/public/v1/submit/export_wallet_account returns a 401 Unauthorized error.
Steps to Reproduce
Open the wallet in Nexus Testnet II.
Navigate to Account & Security settings.
Select Export & Backup → Private key or Recovery phrase.
Send a POST request to https://api.turnkey.com/public/v1/submit/export_wallet.
Observe the error response.
Expected Behavior
The API successfully returns the exported wallet data.
Actual Behavior
The request returns 401 Unauthorized with the following response:
{
"code": 16,
"message": "could not find public key in organization or its parent organization organizationId={organizationId} publicKey={publicKey} parentOrganizationId={parentOrganizationId}",
"details": []
}
Summary
When attempting to export a wallet via API, the requests to
https://api.turnkey.com/public/v1/submit/export_wallet
orhttps://api.turnkey.com/public/v1/submit/export_wallet_account
returns a401 Unauthorized
error.Steps to Reproduce
POST
request tohttps://api.turnkey.com/public/v1/submit/export_wallet
.Expected Behavior
The API successfully returns the exported wallet data.
Actual Behavior
The request returns
401 Unauthorized
with the following response:Environment
https://api.turnkey.com/public/v1/submit/export_wallet
0x8dccadc45543156e3Bf1B14bAF7abbF7f8664d1a
The text was updated successfully, but these errors were encountered: