{"record":{"id":"b38579849c4dbbae","repo":"ruvnet/ruflo","slug":"cid-required","errorCode":null,"errorMessage":"CID required","messagePattern":"CID required","errorType":"http","errorClass":null,"httpStatus":400,"severity":"error","filePath":"v3/@claude-flow/cli/cloud-functions/publish-registry/index.js","lineNumber":285,"sourceCode":"\n        if (!modelData) {\n          return res.status(400).json({ error: 'Model data required' });\n        }\n\n        const result = await exportModel(modelData, pinataJwt);\n        await trackEvent(bucket, 'model-export', modelData.id || 'unknown');\n\n        return res.json({\n          success: true,\n          ...result,\n        });\n      }\n\n      case 'import-model': {\n        const { cid } = req.query;\n\n        if (!cid) {\n          return res.status(400).json({ error: 'CID required' });\n        }\n\n        const result = await importModel(cid);\n        await trackEvent(bucket, 'model-import', cid);\n\n        return res.json(result);\n      }\n\n      case 'track-download': {\n        const { pluginId } = req.body || req.query;\n\n        if (!pluginId) {\n          return res.status(400).json({ error: 'Plugin ID required' });\n        }\n\n        await trackEvent(bucket, 'download', pluginId);\n        return res.json({ success: true });\n      }","sourceCodeStart":267,"sourceCodeEnd":303,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/@claude-flow/cli/cloud-functions/publish-registry/index.js#L267-L303","documentation":"The 'import-model' action found no cid query parameter. Input-presence guard: importing a model requires the IPFS content identifier of the previously exported artifact; without it there is nothing to fetch, so the function returns 400.","triggerScenarios":"Thrown at v3/@claude-flow/cli/cloud-functions/publish-registry/index.js:285 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Provide all required parameters listed in the message.","Validate required fields before dispatch and report the full set of missing fields at once."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa13ee4ad60ac2090b1480656eb233521790d640","analyzedAt":"2026-08-18T21:34:22.708Z","contentChangedAt":"2026-08-18T21:34:22.708Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}