Inactive User License Optimizer troubleshooting: error messages and fixes
Find the message the app showed you, word for word, in the tables below. Errors appear in a box at the top of the app's page; scan errors also stay in a warning box under Proposed for suspension until a scan runs without one. Text in "…" stands for a value the app fills in. For setup and settings, see the help center.
Access and licence
Message
Cause
Fix
"only Jira administrators can change this app"
You are not a Jira administrator. The app checks this on every action, including opening the page.
Ask a Jira administrator to open the app, or to give you Jira admin rights.
"only organisation admins and user access admins can suspend or restore users"
You pressed Suspend or Restore, and Atlassian says you are not an organization admin or user access admin of the organization the key belongs to.
Ask an organization admin or user access admin to approve the suspension. You can still look at the proposals.
"no signed-in user"
Jira did not pass your account to the app with the request.
Reload the page, sign in again if asked, and retry.
"This app's licence is not active. Renew it under Manage apps …"
The app's licence on your site is not active. Scan now, Suspend and Restore are refused; settings, the key and your record are kept.
Renew the licence under Manage apps in Jira. Until then, people already suspended can be restored in Atlassian Administration.
Setup and settings
Message
Cause
Fix
"enter the organisation id and the org API key first, or turn on sample data"
You pressed Scan now, Test connection, Suspend or Restore before saving both the organization id and the key.
Fill in the organization id, press Save settings, paste the key, press Save key. Or press Turn on sample data to try the app first.
"organisation id: copy the id from your Atlassian Administration URL (admin.atlassian.com/o/<id>/…)"
The organization id is not in the right form.
Open Atlassian Administration, copy the id that follows /o/ in the address, paste only that, and save.
"inactive days must be a whole number from 30 to 365"
The inactive days field holds text, a decimal, or a number outside 30 to 365.
Enter a whole number from 30 to 365 and save.
"at most 200 exclusions"
The exclusions field holds more than 200 emails and domains.
Exclude whole domains (@example.com) instead of single addresses where you can.
"exclusion "…" must be an email (…) or a domain (@example.com)"
One entry in the exclusions field is not an email address or a domain starting with @.
Fix or remove the entry named in the message. Separate entries with spaces.
"price per user must be 0 to 1000 USD a month"
The price field is not a number from 0 to 1000.
Enter a number such as 8 or 7.75, or leave the field empty for no estimate.
"secret "org-api-key" is longer than 20000 characters"
More than the key was pasted in the key field.
Copy only the key from Atlassian Administration and save it again.
Connection and scans
These come from Atlassian's organization admin API. You see them after Test connection or Scan now, and in the "Last scan error (…): …" box when the hourly scan failed.
Message
Cause
Fix
"HTTP 401: the org API key was refused (expired or revoked?)"
Atlassian did not accept the key. It may have expired or been revoked.
Have an organization admin create a new key, paste it, press Save key, then Test connection.
"HTTP 403: the org API key lacks a permission this needs (see the setup steps)"
The key cannot do this action. Atlassian refuses suspend and restore to every key with scopes.
To scan, use a key with read:accounts:admin, read:directories:admin and read:orgs:admin. To suspend and restore, create a key without scopes, save it, and give it the shortest expiry Atlassian offers.
"HTTP 404: not found: check the organisation id"
The organization id does not match an organization the key can reach.
Copy the id again from the Atlassian Administration address of the organization that made the key.
"HTTP 429: Atlassian's rate limit; try again in … s" or "… try again later"
Atlassian is limiting calls for now.
Wait the time shown, then retry. A scan in progress continues in the next hourly run.
"HTTP …: Atlassian's admin API failed"
Atlassian's API answered with another error.
Retry later. If it repeats, email us the full message.
"Atlassian's next-page link has no cursor"
Atlassian's answer could not be read past one page. The app stops instead of keeping a partial list.
Press Scan now later. If it repeats, email us.
"a scan is running; try again in a few minutes"
Another scan, a suspension or a restore is running.
Wait a few minutes and press Scan now again.
A scan stopped by a 400, 401, 403 or 404 error, or failing three runs in a row, is dropped, and the next scan starts over. Your last finished scan stays on the page.
Suspending and restoring
Message
Cause
Fix
"no finished scan yet: press Scan now"
No scan has finished for this organization yet.
Press Scan now, wait until the scan is done, then suspend.
"the last scan is more than 7 days old: press Scan now first"
The app only suspends from a scan less than 7 days old.
Press Scan now, then tick people again.
"the mode or organization changed since the last scan: press Scan now first"
You turned sample data on or off, or changed the organization id, after the last scan.
Press Scan now so the list matches today's setup.
"a scan or another change is running; try again in a few minutes"
A scan, another suspension or a restore is running.
Wait a few minutes and press the button again.
"… not reached: press again."
The click ran out of time before every ticked person was handled, or Atlassian stopped the batch (401, 403 or 429).
Tick the people still listed, type SUSPEND and press Suspend … ticked again.
"this user was not suspended by the app in the last 13 months"
Restore only works for people the app suspended in the last 13 months who are not restored yet.
Restore the person in Atlassian Administration.
After you press Suspend, the green box says "… suspended." and, when people were kept, "… kept: …" with up to three reasons:
Reason
Cause
Fix
"now active"
The person used a product since the scan.
Nothing: they are no longer idle.
"now protected"
The person became an organization, site or user access admin.
Nothing: the app does not suspend admins.
"now excluded"
Their email or domain is now in your exclusions.
Remove the exclusion if you meant to suspend them.
"now unknown"
Atlassian's fresh answer lacked data the app needs to judge.
Check the person in Atlassian Administration.
"now not-active-member"
The person is no longer an active member, for example because they were already suspended in Atlassian Administration.
Press Scan now and tick them again if they are proposed.
"no activity date from Atlassian: tick it in its own section"
A person with no activity date can only be suspended from the No activity date from Atlassian section.
Check them in Atlassian Administration, then tick them in that section.
"monthly ledger is full"
The app's record already holds 600 suspensions this month.
Suspend the rest next month, or in Atlassian Administration.
"HTTP …: …"
Atlassian refused this one suspension. The texts are the same as under Connection and scans.
Follow the fix for that HTTP code above.
Deleting data
Message
Cause
Fix
"type DELETE to confirm"
The box above the button did not hold exactly DELETE.
Type DELETE in capitals and press Delete all data again.
"Part of the data is deleted. Click again to finish."
There was more data than one click could delete in time.
Type DELETE again and press Delete all data until you see "All app data deleted."
Notices on the page
Message
What it means
What to do
"No scan yet. Set up the organization below (or turn on sample data), then press Scan now."
No finished scan matches today's setup.
Finish Setup, or turn on sample data, then press Scan now.
"A scan is in progress (… checked so far); the next hourly run continues it."
A large organization takes more than one run to scan.
Come back later. The proposals show when the scan is done.
"… Atlassian gave too little data to judge"
For these people, Atlassian's answer lacked their product access, roles, a readable date or a join date. The app keeps them.
Check them in Atlassian Administration if you want to act on them.
"No activity date from Atlassian (Atlassian gives none for Jira and Confluence guests): check in admin.atlassian.com before suspending."
These people have no last active date in any product. Guests can look like this even when they work every day.
Check each one in Atlassian Administration. Tick one only after checking.
"(name removed after a profile change)"
Atlassian reported that the person changed their profile, so the app dropped the stored name.
Nothing: the next scan reads the name again. In the record of past suspensions it stays removed.
Still stuck?
Email support@sweekly.app with your Jira site address (for example yourcompany.atlassian.net), the exact message text, and what you pressed just before. Don't send your organization API key or any password; we don't need them.