Fix CSV file errors for usage limits

You can resolve CSV errors that prevent usage limits from being applied to actors (including users, agents, and service accounts) in your organization.

Understand how CSV files are checked

CSV files are checked in two stages:

  • On upload: The file’s type, size, encoding, headers, and CSV formatting are checked. If any check fails, the entire file is rejected and no limits change.

  • On save: After you select Review and save, rows are processed individually. Valid rows are saved. Rows that fail save-time checks or can’t be written are skipped, with details recorded in the results file.

Only one usage limits CSV file can be processed at a time for your organization. If another file is being processed, wait for it to finish before saving yours.

Saving can also be blocked if another admin starts processing a file after you upload yours but before you select Review and save. If this happens, wait for that file to finish, then try saving again.

How to fix CSV file errors

Errors on upload

エラー メッセージ

原因

ソリューション

Unsupported file type

The file isn’t a CSV, or its MIME type is not text/csv.

Save the file as a plain .csv and upload it again.

File is empty

The file is 0 bytes or contains no data rows.

Make sure the file includes the header row accountId and limitand at least one data row.

File is too large

The file exceeds the 10 MiB size limit.

Split the data into smaller CSV files and upload them separately.

Invalid file encoding

The file contains invalid UTF-8 sequences.

Re-save the file with UTF-8 encoding, then upload it again.

Malformed header

The header row is missing accountId or limit, or the capitalization does not match exactly.

Use the header accountId and limit exactly as shown.

Malformed row

At least one row has CSV formatting issues, such as unclosed quotes or missing values.

Fix mismatched quotes, missing commas, or missing field values, then upload the corrected file again.

Invalid account ID

An accountId value is blank or contains invalid characters.

Make sure every accountId is complete and correctly formatted for a valid user, agent, or service account.

Invalid limit

The limit value is neither a whole number of 25 or more nor delete.

To set a limit, enter a whole number of 25 or more. To remove an existing limit, enter delete.

Duplicate account ID

The same accountId appears in more than one row.

Keep only one row per accountId, then upload the file again.

Upload in progress

Another usage limit CSV job is already processing for your organization.

Wait for the active job to finish before uploading a new file.

Save in progress

Your file uploaded successfully, but another usage limit job started before you selected Review and save.

Wait for the active job to finish, then try Review and save again. Or cancel your task if it is no longer required.

Errors on save

When you select Review and save, rows get processed individually. Rows that pass are saved. Rows that do not pass are skipped. Download the results file to review outcomes for every row.

エラー メッセージ

原因

ソリューション

失敗

The row failed a save-time check. This commonly happens when the actor does not exist or is not active.

Review errorType and errorDetail in the results file, correct the row, and upload it again. Do not retry unchanged rows that failed a save-time check.

Rejected

The row reached the write step, but the limit update was refused.

Make a change based on the reported errorType and errorDetail before retrying. Uploading the same row again without changes will not resolve the issue.

Not processed

The row was never written because the job was canceled or stopped before that row could be processed.

Retry the row when processing can complete normally. Re-uploading unchanged rows with this outcome is safe.

The results file includes these columns for each row: rowIndex, accountId, limit, outcome, errorType, and errorDetail. Use outcome to identify whether a row was FAILED, REJECTED, or NOT_PROCESSED, and use errorType and errorDetail to determine what to correct.

Valid rows are saved even if other rows in the same file are not. If needed, you can re-upload the whole file after making corrections. Rows that were already applied are harmlessly applied again, but unsuccessful rows should only be retried when their outcome indicates that retrying is appropriate.

 

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。