Constraints applicable to unified file and object access

The following constraints are applicable while creating and accessing objects and containers for unified file and object access:

  • The name of the container can be no more than 255 characters.
  • The name of the object can be no more than 214 characters.
  • The path name of the object must not include successive forward slashes.
  • The name of the container and the object must not be a single period (.) or a double period (..). However, a single period or a double period can be part of the name of the container and the object.
The system returns the following error message when the constraints are not met:
400 Bad Request

The swift constraints listed in the following table are also applicable to unified file and object access.

Table 1. Configuration options for [swift-constraints] in swift.conf
Option Limit
MAX_FILE_SIZE 5497558138880 (5 TiB)
MAX_META_NAME_LENGTH 128
MAX_META_VALUE_LENGTH 256
MAX_META_COUNT 90
MAX_META_OVERALL_SIZE 4096
MAX_HEADER_SIZE 8192
CONTAINER_LISTING_LIMIT 10000
ACCOUNT_LISTING_LIMIT 10000
MAX_ACCOUNT_NAME_LENGTH 256
VALID_API_VERSIONS ["v1", "v1.0"]
EXTRA_HEADER_COUNT 0
Note: These values can be changed by using the following command for the swift.conf file in swift-constraints section:
mmobj config change