Skip to content

Invalid value for includeFolder parameter. #11

@mhmiton

Description

@mhmiton
public function fileExists(string $path): bool
{
        $filePath = $this->getFileFolderName($path);

        // Search for files
        $file = $this->client->listFiles([
            'name' => $filePath['fileName'],
            'path' => $filePath['directory'],
            'includeFolder' => true,
        ]);

        return ! empty($file->success);
}

This script return an error:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions