ruvnet/ruflo · error
[IPFS] Pinata upload failed: ${error}
Error message
[IPFS] Pinata upload failed: ${error} What it means
Log warning in uploadToIPFS: the Pinata upload attempt threw (auth, network, or API error); the chain falls through to Web3.storage and ultimately demo mode.
Source
Thrown at v3/@claude-flow/cli/src/transfer/ipfs/upload.ts:243
if (localIPFS || pinningService === 'local') {
try {
const isAvailable = await checkLocalIPFSNode();
if (isAvailable) {
return await uploadToLocalIPFS(content, options);
} else {
console.warn(`[IPFS] Local node at ${localIPFS || 'localhost:5001'} not available`);
}
} catch (error) {
console.warn(`[IPFS] Local IPFS upload failed: ${error}`);
}
}
// 2. Try Pinata
if (pinningService === 'pinata' || (pinataKey && !web3Token)) {
try {
return await uploadToPinata(content, options);
} catch (error) {
console.warn(`[IPFS] Pinata upload failed: ${error}`);
}
}
// 3. Try Web3.storage
if (web3Token || pinningService === 'web3storage') {
try {
return await uploadToWeb3Storage(content, options);
} catch (error) {
console.warn(`[IPFS] Web3.storage upload failed: ${error}`);
}
}
// Fall back to demo mode - WARN user prominently
console.warn(`⚠ [IPFS] DEMO MODE - No IPFS credentials configured`);
console.warn(`⚠ [IPFS] Content will NOT be uploaded to decentralized storage`);
console.warn(`⚠ [IPFS] To enable real uploads, configure one of:`);
console.warn(`⚠ [IPFS] - IPFS_API_URL=http://YOUR_NODE:5001 (FREE - your own node)`);
console.warn(`⚠ [IPFS] - WEB3_STORAGE_TOKEN (free 5GB at web3.storage)`);View on GitHub (pinned to fa13ee4ad6)
Solutions
- Verify PINATA_API_KEY and PINATA_SECRET_KEY are set and valid and the Pinata API is reachable.
Defensive patterns
Strategy: fallback
When it happens
Trigger: Thrown at v3/@claude-flow/cli/src/transfer/ipfs/upload.ts:243 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/7f83bcce4d413347.
Report an issue: GitHub.