{"record":{"id":"6bd69b1ecd5c5e75","repo":"juspay/hyperswitch","slug":"payconex-requires-bodykey-auth-type","errorCode":null,"errorMessage":"Payconex requires BodyKey auth type","messagePattern":"Payconex 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":1812,"sourceCode":"                    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\")),\n            },\n            Connector::Payconex => match auth {\n                ConnectorAuthType::BodyKey { api_key, key1 } => Ok(Self::Payconex {\n                    api_key: api_key.clone(),\n                    account_id: key1.clone(),\n                    base_url: None,\n                }),\n                _ => Err(err(\"Payconex requires BodyKey auth type\")),\n            },\n            Connector::Citigate => match auth {\n                ConnectorAuthType::BodyKey { api_key, key1 } => Ok(Self::Citigate {\n                    api_key: api_key.clone(),\n                    key1: key1.clone(),\n                    base_url: None,\n                }),\n                _ => Err(err(\"Citigate requires BodyKey auth type\")),\n            },\n            Connector::Worldpayraft => match auth {\n                ConnectorAuthType::BodyKey { api_key, key1 } => Ok(Self::Worldpayraft {\n                    license: api_key.clone(),\n                    merchant_id: key1.clone(),\n                    base_url: None,\n                }),\n                _ => Err(err(\"Worldpayraft requires BodyKey auth type\")),\n            },\n            Connector::Interpayments => match auth {","sourceCodeStart":1794,"sourceCodeEnd":1830,"githubUrl":"https://github.com/juspay/hyperswitch/blob/3093f22cc46b46415cca152ea0b234277b251ecd/crates/router/src/core/unified_connector_service/connector_config.rs#L1794-L1830","documentation":"Error \"Payconex requires BodyKey auth type\" thrown in juspay/hyperswitch.","triggerScenarios":"Thrown at crates/router/src/core/unified_connector_service/connector_config.rs:1712 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Configure the merchant connector account for Payconex 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-14T00:17:10.932Z"}