Kong/insomnia · error · Error

No successful responses for request

Error message

No successful responses for request

What it means

Error "No successful responses for request" thrown in Kong/insomnia.

Source

Thrown at packages/insomnia/src/common/templating/local-template-tags.ts:655

          response = await context.network.sendRequest(request, {
            requestChain,
            environmentId: environmentId || undefined,
          });
        }

        if (!response) {
          console.log('[response tag] No response found');
          throw new Error('No responses for request');
        }

        if (response.error) {
          console.log('[response tag] Response error ' + response.error);
          throw new Error('Failed to send dependent request ' + response.error);
        }

        if (!response.statusCode) {
          console.log('[response tag] Invalid status code ' + response.statusCode);
          throw new Error('No successful responses for request');
        }

        if (field !== 'raw' && field !== 'url' && !filter) {
          throw new Error(`No ${field} filter specified`);
        }

        const sanitizedFilter = filter.trim();
        const bodyBuffer = await context.util.models.response.getBodyBuffer(response, '');
        const match = response.contentType && response.contentType.match(/charset=([\w-]+)/);
        const charset = match && match.length >= 2 ? match[1] : 'utf8';
        if (field === 'url') {
          return response.url;
        }
        if (field === 'raw' && bodyBuffer !== null) {
          // Sometimes iconv conversion fails so fallback to regular buffer
          if (typeof bodyBuffer === 'string') {
            throw new TypeError(bodyBuffer);
          }

View on GitHub (pinned to d9bb2b0142)

When it happens

Trigger: Thrown at packages/insomnia/src/common/templating/local-template-tags.ts:655 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of Kong/insomnia@d9bb2b0142 (2026-08-26). Data as JSON: /api/errors/a0523d78a5c01d36. Report an issue: GitHub.