{"record":{"id":"0d5756d34ac65fd6","repo":"FlowiseAI/Flowise","slug":"no-tools-available-for-the-pipedream-app-slug-a","errorCode":null,"errorMessage":"No tools available for the Pipedream app slug \"${appSlug}\". Please check your configuration.","messagePattern":"No tools available for the Pipedream app slug \"(.+?)\"\\. Please check your configuration\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/components/nodes/tools/MCP/Pipedream/PipedreamMCP.ts","lineNumber":332,"sourceCode":"        const serverParams = {\n            url: 'https://remote.mcp.pipedream.net',\n            headers: {\n                Authorization: `Bearer ${accessToken}`,\n                'x-pd-project-id': projectId,\n                'x-pd-environment': environment,\n                'x-pd-external-user-id': externalUserId,\n                'x-pd-app-slug': appSlug,\n                'x-pd-tool-mode': toolMode\n            }\n        }\n\n        try {\n            const toolkit = new MCPToolkit(serverParams as any, 'sse')\n            await toolkit.initialize()\n\n            const rawTools = toolkit._tools?.tools ?? []\n            if (rawTools.length === 0) {\n                throw new Error(`No tools available for the Pipedream app slug \"${appSlug}\". Please check your configuration.`)\n            }\n\n            const toolPromises = rawTools.map((t: McpTool) =>\n                createPipedreamTool(toolkit, t.name, t.description || t.name, t.inputSchema ?? { type: 'object', properties: {} })\n            )\n            const settled = await Promise.allSettled(toolPromises)\n            const tools = settled.filter((r): r is PromiseFulfilledResult<Tool> => r.status === 'fulfilled').map((r) => r.value)\n\n            if (tools.length === 0) {\n                throw new Error(`No tools available for the Pipedream app slug \"${appSlug}\". Please check your configuration.`)\n            }\n\n            return tools\n        } catch (error: any) {\n            if (error.message?.includes('404')) {\n                throw new Error(`Pipedream app slug \"${appSlug}\" not found. Please verify the slug on mcp.pipedream.com.`)\n            }\n            if (error.message?.includes('401')) {","sourceCodeStart":314,"sourceCodeEnd":350,"githubUrl":"https://github.com/FlowiseAI/Flowise/blob/abe4a8601a058047b350c260676826e21dd14101/packages/components/nodes/tools/MCP/Pipedream/PipedreamMCP.ts#L314-L350","documentation":"First of two identical-message throws: fires immediately after toolkit.initialize() if toolkit._tools.tools is empty (rawTools.length === 0). It means the Pipedream MCP server accepted the request but returned zero tools for the given app slug, so there is nothing to expose.","triggerScenarios":"The MCP server responds successfully but the tool list is empty — app slug valid but the app exposes no tools in the selected environment/toolMode, or the project lacks access to the app.","commonSituations":"App slug correct but the Pipedream project/subscription does not include that app; toolMode set to a mode that yields no tools for that app; new app with no configured tools; environment mismatch (production vs development).","solutions":["Verify the app slug is correct and that the Pipedream project has access to that app.","Check the 'environment' input (development/production) matches where tools are configured.","Check the 'toolMode' input; try 'tools-only' vs another mode to see if tools appear.","Confirm the OAuth scopes / project permissions grant access to the app's tools."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":"function hasTools(raw: unknown): raw is { tools: unknown[] } {\n    return typeof raw === 'object' && raw !== null && Array.isArray((raw as any).tools) && (raw as any).tools.length > 0\n}","tryCatchPattern":"try { await pipedream.getTools(nodeData, options) }\ncatch (e) { if (e instanceof Error && e.message.startsWith('No tools available for the Pipedream app slug')) { /* check env/toolMode/permissions */ } }","preventionTips":["Verify the Pipedream project includes the target app before configuring the node.","Confirm environment and toolMode match where tools are defined.","Provide a dry-run that lists available tools during node setup."],"tags":["pipedream","mcp","configuration","tools","validation"],"backgroundTag":null,"analyzedSha":"abe4a8601a058047b350c260676826e21dd14101","analyzedAt":"2026-08-12T16:04:40.823Z","schemaVersion":2},"datasetVersion":"2026-08-12T18:17:37.767Z"}