coollabsio/coolify · error · RuntimeException

Uploaded file is empty.

Error message

Uploaded file is empty.

What it means

Error "Uploaded file is empty." thrown in coollabsio/coolify.

Source

Thrown at app/Livewire/Server/TransferImport.php:57

    public ?string $importedServerUuid = null;

    public function mount(): void
    {
        $this->ensureDevelopmentAvailability();
        $this->authorize('create', Server::class);
    }

    public function updatedBundleFile(): void
    {
        $this->ensureDevelopmentAvailability();

        if (! $this->bundleFile) {
            return;
        }
        try {
            $contents = $this->bundleFile->get();
            if (! is_string($contents) || blank($contents)) {
                throw new \RuntimeException('Uploaded file is empty.');
            }
            $this->bundleJson = $contents;
            $this->dispatch('success', 'Bundle file loaded into the form.');
        } catch (Throwable $e) {
            handleError($e, $this);
        }
    }

    /**
     * @return array<string, mixed>
     */
    private function resolveBundle(): array
    {
        $raw = trim($this->bundleJson);
        if ($raw === '') {
            throw new \RuntimeException('Paste a transfer bundle JSON or upload a file.');
        }

View on GitHub (pinned to 70b9acc424)

When it happens

Trigger: Thrown at app/Livewire/Server/TransferImport.php:57 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of coollabsio/coolify@70b9acc424 (2026-08-17). Data as JSON: /api/errors/2453442a334c1164. Report an issue: GitHub.