Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

×
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

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
AUG Leaders

Atlassian Community Events