Kong/insomnia · error · Error

netrc is not supported yet

Error message

netrc is not supported yet

What it means

Error "netrc is not supported yet" thrown in Kong/insomnia.

Source

Thrown at packages/insomnia-scripting-environment/src/objects/auth.ts:589

        // nonce
        // user
      };
    }
    case 'asap': {
      return {
        type: 'asap',
        disabled: findValueInKvArray('disabled', authObj.asap) === 'true',
        issuer: findValueInKvArray('iss', authObj.asap),
        subject: findValueInKvArray('sub', authObj.asap),
        audience: findValueInKvArray('aud', authObj.asap),
        additionalClaims: findValueInKvArray('claims', authObj.asap),
        keyId: findValueInKvArray('kid', authObj.asap),
        privateKey: findValueInKvArray('privateKey', authObj.asap),
      };
    }
    case 'netrc': {
      // TODO(george): support this in the script side
      throw new Error('netrc is not supported yet');
    }
    default: {
      throw new Error(`unknown auth type: ${authObj.type}`);
    }
  }
}

export function toPreRequestAuth(auth: RequestAuthentication | {}): AuthOptions {
  if (!auth || !('type' in auth) || !auth.type) {
    return { type: 'noauth' };
  }

  switch (auth.type) {
    case 'none': {
      return { type: 'noauth' };
    }
    case 'apikey': {
      return {

View on GitHub (pinned to d9bb2b0142)

When it happens

Trigger: Thrown at packages/insomnia-scripting-environment/src/objects/auth.ts:589 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/02ded0c27eb7ac28. Report an issue: GitHub.