Atlassian Cloud REST API: 401 Basic authentication with passwords is deprecated
Jira/Confluence Cloud no longer accepts account passwords for the API.
Exact message you may see
Basic authentication with passwords is deprecatedAtlassian 401 Basic authenticationJira API token required
Seen on:
Atlassian
Meaning
Use the account email with an API token as the Basic auth password, or OAuth 2.0 (3LO) for apps.
Common causes
- Using the account password
- Using an expired or revoked API token
- Wrong email used with the token
- Calling Server/Data Center docs against Cloud
⚡ Quick fix
- Create an API token at id.atlassian.com and use
email:token - Use OAuth 2.0 for multi-user apps
- Check you are using the Cloud base URL
Detailed fix by platform
cURL
curl -u you@example.com:$API_TOKEN https://yourcompany.atlassian.net/rest/api/3/myself
How to diagnose
- Credentials — Email:token?
- Token — Valid?
- Product — Cloud or Server?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Most viewed in API
Other ways to find it
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Did this fix work for you?
Report a correction or suggest an improvement
Last updated 2 Dec 2026