Skip to content

Error 401 with tweets plugin #142

Locked Answered by lowlighter
JayantGoel001 asked this question in Q&A

You must be logged in to vote

Hello !

You're getting this error since the tweets plugin died and you enabled plugins_errors_fatal.

Below is the logs of the plugin:

metrics/compute/JayantGoel001/plugins > tweets > completed (error)
{
  name: 'tweets',
  result: {
    error: {
      message: 'API returned 401',
      instance: {
        title: 'Unauthorized',
        type: 'about:blank',
        status: 401,
        detail: 'Unauthorized'
      }
    }
  }
}

From what I see, it's a 401 (Unauthorized) HTTP code, which usually means the provided Twitter token is not valid.
Seems your ${{ secrets.TWITTER_TOKEN }} is at least non empty, but I suggest that you double-check it in case you added whitespace or forgot a character

Replies: 2 comments

You must be logged in to vote
0 replies
Answer selected by lowlighter

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #56 on February 18, 2021 11:49.