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 | Save the file as a plain |
File is empty | The file is 0 bytes or contains no data rows. | Make sure the file includes the header 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 | Use the header |
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 | Make sure every |
Invalid limit | The | To set a limit, enter a whole number of 25 or more. To remove an existing limit, enter |
Duplicate account ID | The same | Keep only one row per |
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 |
Rejected | The row reached the write step, but the limit update was refused. | Make a change based on the reported |
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.
この内容はお役に立ちましたか?