Why Am I Unable to Upload an Object?
- Check whether the size or number of objects to be uploaded exceeds what is supported.
On OBS Console, you can upload a maximum of 100 files in a batch, with a total size of no more than 5 GB. If you upload only one file in a batch upload, it cannot exceed 5 GB in size.
If a file exceeds 5 GB in size, you can use OBS Browser+ or obsutil to upload it. Or you can use OBS SDKs or APIs to upload the file through multipart upload, with the maximum upload size of 48.8 TB.
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 down, restore the network connectivity.
- If a message indicating "service unavailable" is displayed when objects are being uploaded, try again later.
- Check whether the account has passed real-name authentication. If not, perform real-name authentication first.
- Log in to OBS Console.
- On the top navigation menu, you can view the user authentication status.
Figure 1 Account authentication status
- If you have not completed the real-name authentication, complete it by referring to Individual Real-Name Authentication Process. The real-name authentication takes effect 40 minutes 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. The Billing Center page is displayed.
- On the Overview page, you can view the balance of the account.
- If your account is in arrears, top up it by referring to Renewal Management.
- If the object cannot be uploaded after the account is brought current, contact customer service.
- Check whether account has the permissions required to upload objects. This includes the IAM permissions, bucket policies, and bucket ACLs. If you do not have the permissions needed, obtain the permission 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 the details for that user, and check what user groups that user belongs to. If the user is not a member of any user group, click Modify and select a user group.
- In the navigation pane on the left, click User Groups and find the user group the user belongs to. Click the icon on the left of 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 to upload objects. If not, create a user group, configure a policy that grants the user group the permissions required to upload objects, and add the user to the user 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 Policy 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.
- For OBS Browser, a disordered database can cause uploads to fail. You can clear the database and upload the file again.
Delete all files in the database path.
- For OBS Browser, you also need to check whether your computer system has the Sogou input method installed. If yes, upgrade the Sogou input method to the latest version.
- If the fault persists, contact customer service.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.