Linode API UNAUTHORIZED response

Linode Staff


Im using Linode API.

Today I've received UNAUTHORIZED response when using the linodeapi.

Is the API service down or having issues?

1 Reply

Firstly, if you're using our cli to make api calls you'll want to ensure you have the most current version. To update:

Mac OSX:
brew update
brew upgrade linode-cli

Debian and Ubuntu:
sudo apt-get update
sudo apt-get upgrade linode-cli

If you believe the issue is on our end, that is to say our api service is unavailable, you may want to subscribe to our Linode status updates to know when routine maintenance is being performed that may impact your application.

If you're version isn't the issue, you'll want to verify that you have access to the api. Try running the following command to test connectivity:
telnet 443

If you run into issues with the above command, try the following to force the connection over IPv4:
telnet -4 443

You've successfully connected if you receive output similar to:

Connected to
Escape character is '^]'.

If you are able to connect to our api, reach some endpoints, and are able to run some linode-cli commands, but the UNAUTHORIZED error persists, then its also important to note that some endpoints require authentication.

All endpoints affecting your Account require either a Personal Access Token or OAuth authentication (when using third-party applications). So it's important to ensure that you've set up your access and authentication correctly.

Here's our guide for setting up an access token and authenticating your api requests.

Additionally, the official documentation pertaining to authenticated calls outlines our authentication scheme and which calls require proper access tokens.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct