{"record":{"id":"47466802893e29a2","repo":"ruvnet/ruflo","slug":"unknown-action-action","errorCode":null,"errorMessage":"Unknown action: ${action}","messagePattern":"Unknown action: (.+?)","errorType":"http","errorClass":null,"httpStatus":400,"severity":"error","filePath":"v3/@claude-flow/cli/cloud-functions/publish-registry/index.js","lineNumber":490,"sourceCode":"              const [content] = await ratingsFile.download();\n              const ratings = JSON.parse(content.toString());\n              results[itemId] = {\n                average: Math.round(ratings.average * 10) / 10,\n                count: ratings.count,\n              };\n            } else {\n              results[itemId] = { average: 0, count: 0 };\n            }\n          } catch {\n            results[itemId] = { average: 0, count: 0 };\n          }\n        }\n\n        return res.json(results);\n      }\n\n      default:\n        return res.status(400).json({ error: `Unknown action: ${action}` });\n    }\n  } catch (error) {\n    console.error('Function error:', error);\n    return res.status(500).json({ error: error.message });\n  }\n}\n\n// For local testing\nexport { signRegistry, fetchNpmStats, trackEvent };\n","sourceCodeStart":472,"sourceCodeEnd":500,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/@claude-flow/cli/cloud-functions/publish-registry/index.js#L472-L500","documentation":"The request's action parameter matched none of the switch cases in the publish-registry function (publish, export-model, import-model, rate, etc.). Dispatch guard: the caller sent an unsupported or misspelled action name, which is echoed back in the 400 response.","triggerScenarios":"Thrown at v3/@claude-flow/cli/cloud-functions/publish-registry/index.js:490 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the underlying cause in logs, fix the root issue, and retry the operation.","Validate inputs and preconditions before invoking this code path so the error is avoided."],"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-14T00:17:10.932Z"}