Constraints for creating objects and containers

This topic provides the constraints that must be kept in mind while creating objects and containers.

Description

When the user is trying to create objects and containers for unified file and object access, the system displays the 400 Bad request error.

Cause

The system displays this error under one or all of the following conditions:
  • The name of the container is longer than 255 characters.
  • The name of the object is longer than 214 characters.
  • The name of any container in the object hierarchy is longer than 214 characters.
  • The path name of the object includes successive forward slashes.
  • The name of the container and the object is a single period (.) or a double period (..).

Proposed workaround

Keep in mind the following constraints while creating objects and containers for unified file and object access:
  • The name of the container must not exceed 255 characters.
  • The name of the object must not exceed 214 characters.
  • The name of any container in the object hierarchy must not exceed 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.