Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚨 401 Unauthorized error when exporting wallet via Turnkey API #1437

Open
Obey177 opened this issue Feb 21, 2025 · 1 comment
Open

🚨 401 Unauthorized error when exporting wallet via Turnkey API #1437

Obey177 opened this issue Feb 21, 2025 · 1 comment

Comments

@Obey177
Copy link

Obey177 commented Feb 21, 2025

Summary

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

  1. Open the wallet in Nexus Testnet II.
    Image
  2. Navigate to Account & Security settings.

Image
Image

  1. Select Export & BackupPrivate key or Recovery phrase.

Image
Image

  1. Send a POST request to https://api.turnkey.com/public/v1/submit/export_wallet.
  2. 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": []
}

Environment

@zouwei
Copy link

zouwei commented Feb 21, 2025

I have the same problem. I can't back up my mnemonics and I can't transfer money. Please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants