{"record":{"id":"33c70523ec8119d0","repo":"Kong/insomnia","slug":"auth-transforming-fromprerequestauth-unknown-sig","errorCode":null,"errorMessage":"auth transforming(fromPreRequestAuth): unknown signatureMethod type for oauth1: ${method}","messagePattern":"auth transforming\\(fromPreRequestAuth\\): unknown signatureMethod type for oauth1: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/insomnia-scripting-environment/src/objects/auth.ts","lineNumber":456,"sourceCode":"            return 'HMAC-SHA256';\n          }\n          case 'HMAC-SHA512': {\n            throw unsupportedError;\n          }\n          case 'RSA-SHA1': {\n            return 'RSA-SHA1';\n          }\n          case 'RSA-SHA256': {\n            throw unsupportedError;\n          }\n          case 'RSA-SHA512': {\n            throw unsupportedError;\n          }\n          case 'PLAINTEXT': {\n            return 'PLAINTEXT';\n          }\n          default: {\n            throw new Error(\n              `auth transforming(fromPreRequestAuth): unknown signatureMethod type for oauth1: ${method}`,\n            );\n          }\n        }\n      })();\n\n      return {\n        type: 'oauth1',\n        disabled: findValueInKvArray('disabled', authObj.oauth1) === 'true',\n        signatureMethod: signMethod,\n        consumerKey: findValueInKvArray('consumerKey', authObj.oauth1),\n        consumerSecret: findValueInKvArray('consumerSecret', authObj.oauth1),\n        tokenKey: findValueInKvArray('token', authObj.oauth1),\n        tokenSecret: findValueInKvArray('tokenSecret', authObj.oauth1),\n        privateKey: findValueInKvArray('privateKey', authObj.oauth1), // it is not supported in the script side\n        version: findValueInKvArray('version', authObj.oauth1),\n        nonce: findValueInKvArray('nonce', authObj.oauth1),\n        timestamp: findValueInKvArray('timestamp', authObj.oauth1),","sourceCodeStart":438,"sourceCodeEnd":474,"githubUrl":"https://github.com/Kong/insomnia/blob/d9bb2b0142600f21309832daea3317942d285984/packages/insomnia-scripting-environment/src/objects/auth.ts#L438-L474","documentation":"Error \"auth transforming(fromPreRequestAuth): unknown signatureMethod type for oauth1: ${method}\" thrown in Kong/insomnia.","triggerScenarios":"Thrown at packages/insomnia-scripting-environment/src/objects/auth.ts:456 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"}