{"record":{"id":"a0523d78a5c01d36","repo":"Kong/insomnia","slug":"no-successful-responses-for-request","errorCode":null,"errorMessage":"No successful responses for request","messagePattern":"No successful responses for request","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/insomnia/src/common/templating/local-template-tags.ts","lineNumber":655,"sourceCode":"          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        }\n        if (field === 'raw' && bodyBuffer !== null) {\n          // Sometimes iconv conversion fails so fallback to regular buffer\n          if (typeof bodyBuffer === 'string') {\n            throw new TypeError(bodyBuffer);\n          }","sourceCodeStart":637,"sourceCodeEnd":673,"githubUrl":"https://github.com/Kong/insomnia/blob/d9bb2b0142600f21309832daea3317942d285984/packages/insomnia/src/common/templating/local-template-tags.ts#L637-L673","documentation":"Error \"No successful responses for request\" thrown in Kong/insomnia.","triggerScenarios":"Thrown at packages/insomnia/src/common/templating/local-template-tags.ts:655 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"}