When uploading documents with an app, you might see the following error:
{storage_limit_exceeded: "Account storage limit reached"}
Environment
Custom Box Applications making API calls to upload content.
Steps To Resolve
Identify the user who owns (owned_by) the parent folder where the document is to be uploaded, and check the user's space_amount vs space_used. The space_amount can be updated via the Update User API Call, or in the UI from Users & Groups (per user) and via the Bulk Edit Tool (multiple users).
If uploading to Folder ID "0" (the root folder), then the owner of the folder is the user who is associated with the access token. This can be found by the Get Current User API Call.
Root Cause
The parent folder owner's storage is full.
Free developer accounts have a 10 GB storage cap for the entire Enterprise ID, so any individual account (including Service Accounts) cannot be increased beyond the 10 GB limit. More storage is available via paid platform plans.
If you'd like to change this setting in general, the default for new users (including Service Accounts) is available at the Admin Console > Enterprise Settings > User Settings > New User Defaults. You must be an admin to edit these settings.
Note
When uploading documents to a folder owned by an app's Service Account (automation user), you may need to update the service account's storage. You can do this via API or in the UI with the Bulk Edit Tool in the Admin Console.