-
Bug
-
Resolution: Fixed
-
High
-
None
-
12
-
Severity 3 - Minor
-
Issue Summary
Since the Selective User Claim feature has been released, we're seeing an increase of tickets where Organizations report that accounts that can't be claimed. Even though the domain has been verified.
These cases all have something in common, when uploading the CSV file to claim the account, the following response is returned:
{ "id": "958ccd87-622f-48a3-9c6f-44fa7ee25a8b", "status": "400", "code": "FILE-UPLOAD-009", "title": "Invalid file upload action", "detail": "There was an error while validating the file because [Invalid file upload action, expected = [FIRST_CLAIM,INCREMENTAL_CLAIM,INCREMENTAL_UNCLAIM,TRANSITION_TO_SUC_BY_UNCLAIM]]" }
The above originates from the following request:
https://admin.atlassian.com/gateway/api/admin/private/api/admin/v1/orgs/[ORGID]/domains/aspencore.com/operationTypes/TRANSITION_TO_SUC_BY_CLAIM/managed-accounts/users/upload-file/csv
I believe this is caused by the SUC config file, in specific the attribute 'isSelectivelyClaimed' which finds itself in the wrong state:
"config": { "shouldClaimAccountsByDefault":false, "isSelectivelyClaimed":true, // this flag "isUserAccountsFileUploaded":false, "domainMigrated":false }
This can be resolved in most cases by simply toggling the Claim Setting from Auto to Manual and back to Auto.
Steps to Reproduce
Locate an Organization that is affected by the bug and try the following steps:
- Go to Domains > Click the 3 dots > Claim Accounts > Claim some accounts > upload the CSV file.
- Before hitting next, open your Developer Tools and go to Console. Here you'll notice if the response is returning an error on the CSV request.
Expected Results
The Org Admins should receive a notification stating the account(s) got successfully claimed. The account should appear under Managed Accounts.
Actual Results
The account is not claimed and the following error appears on the response:
{ "id": "XXXX", "status": "400", "code": "FILE-UPLOAD-009", "title": "Invalid file upload action", "detail": "There was an error while validating the file because [Invalid file upload action, expected = [FIRST_CLAIM,INCREMENTAL_CLAIM,INCREMENTAL_UNCLAIM,TRANSITION_TO_SUC_BY_UNCLAIM]]" }
Workaround
Toggle the Claim Setting from Auto to Manual and back to Auto. Or if the current setting is Manual, toggle from Manual to Auto back to Manual.
Form Name |
---|