{"record":{"id":"0c1ee39c6e3e57e5","repo":"phacility/phabricator","slug":"no-configured-storage-engine-can-store-this-file","errorCode":null,"errorMessage":"No configured storage engine can store this file. See \"Configuring File Storage\" in the documentation for information on configuring storage engines.","messagePattern":"No configured storage engine can store this file\\. See \"Configuring File Storage\" in the documentation for information on configuring storage engines\\.","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/files/storage/PhabricatorFile.php","lineNumber":335,"sourceCode":"    $file->setStorageFormat(PhabricatorFileRawStorageFormat::FORMATKEY);\n\n    $file->setIsPartial(1);\n\n    $file->readPropertiesFromParameters($params);\n\n    return $file;\n  }\n\n  private static function buildFromFileData($data, array $params = array()) {\n\n    if (isset($params['storageEngines'])) {\n      $engines = $params['storageEngines'];\n    } else {\n      $size = strlen($data);\n      $engines = PhabricatorFileStorageEngine::loadStorageEngines($size);\n\n      if (!$engines) {\n        throw new Exception(\n          pht(\n            'No configured storage engine can store this file. See '.\n            '\"Configuring File Storage\" in the documentation for '.\n            'information on configuring storage engines.'));\n      }\n    }\n\n    assert_instances_of($engines, 'PhabricatorFileStorageEngine');\n    if (!$engines) {\n      throw new Exception(pht('No valid storage engines are available!'));\n    }\n\n    $file = self::initializeNewFile();\n\n    $aes_type = PhabricatorFileAES256StorageFormat::FORMATKEY;\n    $has_aes = PhabricatorKeyring::getDefaultKeyName($aes_type);\n    if ($has_aes !== null) {\n      $default_key = PhabricatorFileAES256StorageFormat::FORMATKEY;","sourceCodeStart":317,"sourceCodeEnd":353,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/files/storage/PhabricatorFile.php#L317-L353","documentation":"Error \"No configured storage engine can store this file. See \"Configuring File Storage\" in the documentation for information on configuring storage engines.\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/files/storage/PhabricatorFile.php:335 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}