{"record":{"id":"7f83bcce4d413347","repo":"ruvnet/ruflo","slug":"ipfs-pinata-upload-failed-error","errorCode":null,"errorMessage":"[IPFS] Pinata upload failed: ${error}","messagePattern":"\\[IPFS\\] Pinata upload failed: (.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"v3/@claude-flow/cli/src/transfer/ipfs/upload.ts","lineNumber":243,"sourceCode":"  if (localIPFS || pinningService === 'local') {\n    try {\n      const isAvailable = await checkLocalIPFSNode();\n      if (isAvailable) {\n        return await uploadToLocalIPFS(content, options);\n      } else {\n        console.warn(`[IPFS] Local node at ${localIPFS || 'localhost:5001'} not available`);\n      }\n    } catch (error) {\n      console.warn(`[IPFS] Local IPFS upload failed: ${error}`);\n    }\n  }\n\n  // 2. Try Pinata\n  if (pinningService === 'pinata' || (pinataKey && !web3Token)) {\n    try {\n      return await uploadToPinata(content, options);\n    } catch (error) {\n      console.warn(`[IPFS] Pinata upload failed: ${error}`);\n    }\n  }\n\n  // 3. Try Web3.storage\n  if (web3Token || pinningService === 'web3storage') {\n    try {\n      return await uploadToWeb3Storage(content, options);\n    } catch (error) {\n      console.warn(`[IPFS] Web3.storage upload failed: ${error}`);\n    }\n  }\n\n  // Fall back to demo mode - WARN user prominently\n  console.warn(`⚠ [IPFS] DEMO MODE - No IPFS credentials configured`);\n  console.warn(`⚠ [IPFS] Content will NOT be uploaded to decentralized storage`);\n  console.warn(`⚠ [IPFS] To enable real uploads, configure one of:`);\n  console.warn(`⚠ [IPFS]   - IPFS_API_URL=http://YOUR_NODE:5001 (FREE - your own node)`);\n  console.warn(`⚠ [IPFS]   - WEB3_STORAGE_TOKEN (free 5GB at web3.storage)`);","sourceCodeStart":225,"sourceCodeEnd":261,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/@claude-flow/cli/src/transfer/ipfs/upload.ts#L225-L261","documentation":"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.","triggerScenarios":"Thrown at v3/@claude-flow/cli/src/transfer/ipfs/upload.ts:243 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify PINATA_API_KEY and PINATA_SECRET_KEY are set and valid and the Pinata API is reachable."],"exampleFix":null,"handlingStrategy":"fallback","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"}