Skip to main content

Jira Notification Orb Fails with "You must log in first."

The Jira Notification Orb (circleci/jira) can fail with the message

401:https://circleci.com/api/v2/me
Curl failed with code 401. full response below.
{
  "message" : "You must log in first."
}

To resolve this error you need to verify that the environment variable CIRCLE_TOKEN is set in the project's environment variables section.

You should also verify that the environmental variable CIRCLE_TOKEN is set as a personal API token as opposed to a project API token.

Did this answer your question?