{"record":{"id":"79980543fdb91fc5","repo":"Kong/insomnia","slug":"failed-to-send-dependent-request","errorCode":null,"errorMessage":"Failed to send dependent request ","messagePattern":"Failed to send dependent request ","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/insomnia/src/common/templating/local-template-tags.ts","lineNumber":650,"sourceCode":"        }\n\n        if (shouldResend && context.renderPurpose === 'send') {\n          console.log('[response tag] Resending dependency');\n          requestChain.push(request._id);\n          response = await context.network.sendRequest(request, {\n            requestChain,\n            environmentId: environmentId || undefined,\n          });\n        }\n\n        if (!response) {\n          console.log('[response tag] No response found');\n          throw new Error('No responses for request');\n        }\n\n        if (response.error) {\n          console.log('[response tag] Response error ' + response.error);\n          throw new Error('Failed to send dependent request ' + response.error);\n        }\n\n        if (!response.statusCode) {\n          console.log('[response tag] Invalid status code ' + response.statusCode);\n          throw new Error('No successful responses for request');\n        }\n\n        if (field !== 'raw' && field !== 'url' && !filter) {\n          throw new Error(`No ${field} filter specified`);\n        }\n\n        const sanitizedFilter = filter.trim();\n        const bodyBuffer = await context.util.models.response.getBodyBuffer(response, '');\n        const match = response.contentType && response.contentType.match(/charset=([\\w-]+)/);\n        const charset = match && match.length >= 2 ? match[1] : 'utf8';\n        if (field === 'url') {\n          return response.url;\n        }","sourceCodeStart":632,"sourceCodeEnd":668,"githubUrl":"https://github.com/Kong/insomnia/blob/d9bb2b0142600f21309832daea3317942d285984/packages/insomnia/src/common/templating/local-template-tags.ts#L632-L668","documentation":"Error \"Failed to send dependent request \" thrown in Kong/insomnia.","triggerScenarios":"Thrown at packages/insomnia/src/common/templating/local-template-tags.ts:650 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d9bb2b0142600f21309832daea3317942d285984","analyzedAt":"2026-08-26T18:04:05.187Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}