{"record":{"id":"42e8c82585059a00","repo":"juspay/hyperswitch","slug":"nexinets-requires-bodykey-auth-type","errorCode":null,"errorMessage":"Nexinets requires BodyKey auth type","messagePattern":"Nexinets 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":1144,"sourceCode":"                    Ok(Self::Peachpayments {\n                        api_key: api_key.clone(),\n                        tenant_id: key1.clone(),\n                        client_merchant_reference_id: peach_meta\n                            .as_ref()\n                            .map(|metadata| metadata.client_merchant_reference_id.clone()),\n                        merchant_payment_method_route_id: peach_meta\n                            .as_ref()\n                            .map(|metadata| metadata.merchant_payment_method_route_id.clone()),\n                    })\n                }\n                _ => Err(err(\"Peachpayments requires BodyKey auth type\")),\n            },\n            Connector::Nexinets => match auth {\n                ConnectorAuthType::BodyKey { api_key, key1 } => Ok(Self::Nexinets {\n                    merchant_id: key1.clone(),\n                    api_key: api_key.clone(),\n                }),\n                _ => Err(err(\"Nexinets requires BodyKey auth type\")),\n            },\n            Connector::Razorpay => match auth {\n                ConnectorAuthType::HeaderKey { api_key } => Ok(Self::Razorpay {\n                    api_key: api_key.clone(),\n                    api_secret: None,\n                }),\n                ConnectorAuthType::BodyKey { api_key, key1 } => Ok(Self::Razorpay {\n                    api_key: api_key.clone(),\n                    api_secret: Some(key1.clone()),\n                }),\n                _ => Err(err(\"Razorpay requires HeaderKey or BodyKey auth type\")),\n            },\n            Connector::Mollie => match auth {\n                ConnectorAuthType::HeaderKey { api_key } => Ok(Self::Mollie {\n                    api_key: api_key.clone(),\n                    profile_token: None,\n                }),\n                ConnectorAuthType::BodyKey { api_key, key1 } => Ok(Self::Mollie {","sourceCodeStart":1126,"sourceCodeEnd":1162,"githubUrl":"https://github.com/juspay/hyperswitch/blob/3093f22cc46b46415cca152ea0b234277b251ecd/crates/router/src/core/unified_connector_service/connector_config.rs#L1126-L1162","documentation":"Error \"Nexinets requires BodyKey auth type\" thrown in juspay/hyperswitch.","triggerScenarios":"Thrown at crates/router/src/core/unified_connector_service/connector_config.rs:1089 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Configure the merchant connector account for Nexinets 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"}