Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

1 answer

0 votes
Mirek
Community Champion
March 30, 2025

Hi @Cláudia Silva 

Just wanted to check if you were able to bypass this problem. I suspect that those problems might be related to this incident that happened and resulted that many users had issues with authentication resulting in 403.. 

https://jira-software.status.atlassian.com/incidents/0cjw1ncyggd8

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events