Skip to content

Getting this error "containerName" is a required option, but it was not provided" when listing out the objects #163

@thatipelli69

Description

@thatipelli69

Object creation and downloading are working properly but I got issues when get the object details (like content type, length etc)
Code which is throwing the error :
$container = $openstack->objectStoreV1()
->getContainer($this->container_name);

foreach ($container->listObjects() as $object) {
$data = $object->retrieve();
var_dump($data);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions