Why Am I Unable to Upload an Object?
- Check whether the size or number of objects to be uploaded exceeds what is supported.
OBS Console puts limits on the size and number of files you can upload.
- In regions that support batch uploads, a maximum of 100 files can be uploaded at a time, with a total size of no more than 5 GB.
- In regions that do not support batch uploads, only one file can be uploaded at a time, with a size of no more than 50 MB.
A single file as large as 5 GB can be uploaded as part of a batch upload. For a single file upload, it cannot exceed 50 MB.
If a file is larger than 5 GB, you can use OBS Browser+ or obsutil to upload it. Or you can use the OBS SDKs or API to upload the file (up to 48.8 TB) with a multipart upload.
OBS Browser+ allows you to upload up to 500 files at a time. There is no limit on the number of files you can upload using obsutil at a time.
- Check whether the network connectivity between the local computer and OBS is normal. If the network is faulty, restore the network connection.
- If a message indicating "service unavailable" is displayed when objects are being uploaded, try again later.
- Check whether the account is in arrears or the account balance is insufficient. If this is the case, pay off the outstanding balance or top up the account.
- Log in to OBS Console.
- On the top navigation menu, click Billing & Costs to go to Billing Center.
- On the Overview page, you can view the balance of the account.
- If your account is in arrears, top it up by referring to Renewal Management.
- If your object upload still fails after the account is brought current, contact customer service.
- Check whether the account has the permissions required to upload objects. This check should cover IAM permissions, bucket policies, and bucket ACLs. If the account does not have the required permissions, grant the permissions first.
- Log in to the management console.
- On the top navigation menu, click the username and select Identity and Access Management to log in to the IAM console and verify the permissions of the user.
- On the Users page, search for the username.
- Click the username to view details for that user, and check the user groups where the user belongs. If the user is not a member of any user group, click Modify and select a user group.
- In the navigation pane, click User Groups and find the user group to which the user belongs. Click the icon of the downward arrow next to the user group name to view user group permissions. Find OBS under the Project Name column and click View under the Operation column, to check whether the user group has the permission required to upload objects. If not, create a user group, configure a policy that grants the user group the object upload permission, and add the user to this group. Alternatively, you can configure a bucket policy to grant the IAM user the permission to upload objects to the bucket. Refer to 3 for more information.
- If the account that attempted to upload files is not the owner of the bucket, take the actions described in 3 to check the bucket policy.
- On the top navigation menu, click Service List and choose Object Storage Service. On the OBS Console page, check whether the bucket to which the object is to be uploaded prevents users from uploading objects.
- In the navigation pane, choose Permissions > Bucket Policies and check whether there is a policy preventing the account or IAM user from uploading objects. If yes, modify the bucket policy to grant the account or IAM user the permission. For details, see Granting Specific Operation Permissions on a Bucket to Other Accounts or Granting an IAM User the Permissions Required to Perform Specific Operations on a Specific Bucket.
- Alternatively, you can also use the bucket ACL to grant the account write permissions for the bucket. For details, see Configuring a Bucket ACL.
- If the fault persists, contact customer service.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot