ruvnet/ruflo · error
Model data required
Error message
Model data required
What it means
The 'export-model' action of the publish-registry Cloud Function found req.body empty (no model payload was POSTed). Input-presence guard: exporting a model to IPFS/Pinata requires the serialized model data, so the request is rejected with 400 before any signing or pinning occurs.
Source
Thrown at v3/@claude-flow/cli/cloud-functions/publish-registry/index.js:269
cid: pinResult.IpfsHash,
updatedAt: registry.updatedAt,
pluginCount: registry.plugins.length,
totalDownloads: registry.totalDownloads,
gateways: [
`https://gateway.pinata.cloud/ipfs/${pinResult.IpfsHash}`,
`https://ipfs.io/ipfs/${pinResult.IpfsHash}`,
`https://dweb.link/ipfs/${pinResult.IpfsHash}`,
],
publicKey,
});
}
case 'export-model': {
const pinataJwt = await getSecret('pinata-jwt');
const modelData = req.body;
if (!modelData) {
return res.status(400).json({ error: 'Model data required' });
}
const result = await exportModel(modelData, pinataJwt);
await trackEvent(bucket, 'model-export', modelData.id || 'unknown');
return res.json({
success: true,
...result,
});
}
case 'import-model': {
const { cid } = req.query;
if (!cid) {
return res.status(400).json({ error: 'CID required' });
}
View on GitHub (pinned to fa13ee4ad6)
Solutions
- Provide all required parameters listed in the message.
- Validate required fields before dispatch and report the full set of missing fields at once.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at v3/@claude-flow/cli/cloud-functions/publish-registry/index.js:269 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ruvnet/ruflo@fa13ee4ad6 (2026-08-18).
Data as JSON: /api/errors/a24c8add38ab4fdb.
Report an issue: GitHub.