{"record":{"id":"377edb78f3b833cf","repo":"juspay/hyperswitch","slug":"celero-requires-headerkey-auth-type","errorCode":null,"errorMessage":"Celero requires HeaderKey auth type","messagePattern":"Celero requires HeaderKey auth type","errorType":"validation","errorClass":"error_stack::Report<ApiErrorResponse>","httpStatus":500,"severity":"error","filePath":"crates/router/src/core/unified_connector_service/connector_config.rs","lineNumber":947,"sourceCode":"                    let calida_meta = metadata\n                        .map(|m| {\n                            serde_json::from_value::<CalidaMetadata>(m.clone())\n                                .map_err(|_| err(\"Invalid Calida metadata format\"))\n                        })\n                        .transpose()?;\n\n                    Ok(Self::Calida {\n                        api_key: api_key.clone(),\n                        shop_name: calida_meta.as_ref().map(|m| m.shop_name.clone()),\n                    })\n                }\n                _ => Err(err(\"Calida requires HeaderKey auth type\")),\n            },\n            Connector::Celero => match auth {\n                ConnectorAuthType::HeaderKey { api_key } => Ok(Self::Celero {\n                    api_key: api_key.clone(),\n                }),\n                _ => Err(err(\"Celero requires HeaderKey auth type\")),\n            },\n            Connector::Helcim => match auth {\n                ConnectorAuthType::HeaderKey { api_key } => Ok(Self::Helcim {\n                    api_key: api_key.clone(),\n                }),\n                _ => Err(err(\"Helcim requires HeaderKey auth type\")),\n            },\n            Connector::Multisafepay => match auth {\n                ConnectorAuthType::HeaderKey { api_key } => Ok(Self::Multisafepay {\n                    api_key: api_key.clone(),\n                }),\n                _ => Err(err(\"Multisafepay requires HeaderKey auth type\")),\n            },\n            Connector::Nexixpay => match auth {\n                ConnectorAuthType::HeaderKey { api_key } => Ok(Self::Nexixpay {\n                    api_key: api_key.clone(),\n                }),\n                _ => Err(err(\"Nexixpay requires HeaderKey auth type\")),","sourceCodeStart":929,"sourceCodeEnd":965,"githubUrl":"https://github.com/juspay/hyperswitch/blob/3093f22cc46b46415cca152ea0b234277b251ecd/crates/router/src/core/unified_connector_service/connector_config.rs#L929-L965","documentation":"Error \"Celero requires HeaderKey auth type\" thrown in juspay/hyperswitch.","triggerScenarios":"Thrown at crates/router/src/core/unified_connector_service/connector_config.rs:892 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Configure the merchant connector account for Celero with the HeaderKey connector_auth_type","Recreate/update the connector account credentials to match the HeaderKey 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"}