coollabsio/coolify · error · RuntimeException
Bundle is not valid JSON.
Error message
Bundle is not valid JSON.
What it means
Error "Bundle is not valid JSON." thrown in coollabsio/coolify.
Source
Thrown at app/Livewire/Server/TransferImport.php:78
$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.');
}
$decoded = json_decode($raw, true);
if (! is_array($decoded)) {
throw new \RuntimeException('Bundle is not valid JSON.');
}
if (data_get($decoded, 'encrypted')) {
if (blank($this->passphrase)) {
throw new \RuntimeException('Passphrase is required for encrypted bundles.');
}
return ServerTransferBundle::decryptWithPassphrase($decoded, $this->passphrase);
}
return $decoded;
}
public function dryRun(ServerTransferImporter $importer): void
{
$this->ensureDevelopmentAvailability();
$this->runImport($importer, dryRun: true);
}View on GitHub (pinned to 70b9acc424)
When it happens
Trigger: Thrown at app/Livewire/Server/TransferImport.php:78 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/4e9ffb2c646e196a.
Report an issue: GitHub.