{"record":{"id":"6324a56a5fda583d","repo":"juspay/hyperswitch","slug":"absasanlam-requires-bodykey-auth-type","errorCode":null,"errorMessage":"AbsaSanlam requires BodyKey auth type","messagePattern":"AbsaSanlam requires BodyKey auth type","errorType":"exception","errorClass":"ApiErrorResponse::InternalServerError","httpStatus":500,"severity":"error","filePath":"crates/router/src/core/unified_connector_service/connector_config.rs","lineNumber":1786,"sourceCode":"                    api_secret,\n                    key2,\n                } => Ok(Self::Deutschebank {\n                    customer_identifier: api_key.clone(),\n                    key_id: key1.clone(),\n                    signing_private_key: api_secret.clone(),\n                    client_certificate_bundle: key2.clone(),\n                }),\n                _ => Err(err(\n                    \"Deutsche Bank requires MultiAuthKey auth type \\\n                     (customer_identifier / key_id / signing_private_key / client_certificate_bundle)\",\n                )),\n            },\n            Connector::Imerchantsolutions => match auth {\n                ConnectorAuthType::HeaderKey { api_key } => Ok(Self::Imerchantsolutions {\n                    api_key: api_key.clone(),\n                    merchant_id: None,\n                }),\n                ConnectorAuthType::BodyKey { api_key, key1 } => Ok(Self::Imerchantsolutions {\n                    api_key: api_key.clone(),\n                    merchant_id: Some(key1.clone()),\n                }),\n                _ => Err(err(\"Imerchantsolutions requires HeaderKey auth type\")),\n            },\n            Connector::AbsaSanlam => match auth {\n                ConnectorAuthType::BodyKey { api_key, key1 } => Ok(Self::AbsaSanlam {\n                    api_key: api_key.clone(),\n                    merchant_id: key1.peek().clone(),\n                }),\n                _ => Err(err(\"AbsaSanlam requires BodyKey auth type\")),\n            },\n            Connector::GotymeSanlam => match auth {\n                ConnectorAuthType::BodyKey { api_key, key1 } => Ok(Self::GotymeSanlam {\n                    api_key: api_key.clone(),\n                    profile_id: key1.peek().clone(),\n                }),\n                _ => Err(err(\"GotymeSanlam requires BodyKey auth type\")),","sourceCodeStart":1768,"sourceCodeEnd":1804,"githubUrl":"https://github.com/juspay/hyperswitch/blob/3093f22cc46b46415cca152ea0b234277b251ecd/crates/router/src/core/unified_connector_service/connector_config.rs#L1768-L1804","documentation":"Error \"AbsaSanlam requires BodyKey auth type\" thrown in juspay/hyperswitch.","triggerScenarios":"Thrown at crates/router/src/core/unified_connector_service/connector_config.rs:1704 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Configure the merchant connector account for AbsaSanlam with the BodyKey connector_auth_type","Recreate/update the connector account credentials to match the BodyKey schema"],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3093f22cc46b46415cca152ea0b234277b251ecd","analyzedAt":"2026-08-19T10:36:43.745Z","contentChangedAt":"2026-08-19T10:36:43.745Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}