Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Authentication -> JIRA(options=jiraOptions, basic_auth.. Not working

Cláudia Silva
Contributor
March 5, 2025 edited

Hello,

 

So far I have used authentication using the JIRA class instance and everything has worked so far.

jiraOptions = {'server': "https://example.atlassian.net"}

jira = JIRA(options=jiraOptions, basic_auth=(EMAIL, API_TOKEN))

Now when running it gives the error raise JIRAError( jira.exceptions.JIRAError: JiraError HTTP 403 url: https://example.atlassian.net/rest/api/2/serverInfo text: (...)

Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.

I've tried replacing jiraOptions with the information directly, but nothing works.

Two notes: I am using version jira=3.8.0 and If I execute a function through a direct URL and with the Email and Token authentication accesses, it works. Functions with the JIRA class instance do not.

Has the authentication method changed?

 

Can anyone help me?

Thanks

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events