Error: Unauthorized - You don't have permission to use this service

Notion image

Error Reason

The CLI now uses Auth login (rather than pasting the secret key) to connect your device to the wallet associated with the Dashboard.

This error occurs when a user is signed into a legacy version of the CLI and has not registered an authorized device.


Step 1: Logout of the CLI

Run the following command npx thirdweb@latest logout

Notion image

Step 2: Run the deploy or upload command again

Once you have logged out of the CLI, run the deploy or upload command again, this will prompt you to register your device via the generated registration link.

Notion image

Step 3: Authorize your device

Name your device (optional) and click Authorize device. This will prompt a signature in your wallet (gasless).

Notion image

Step 4: Sign the request

Notion image
Notion image

Step 5: Return to CLI and retrieve your deploy link.

Notion image


Can’t get this working? If you’ve followed the above and still have issues, contact our support team for help.

Did this answer your question?