Getting error while calling sign_with_schnorr

I am trying to call sign_with_schnorr but getting error .
(variant {Err="schnorr_public_key failed failed to decode canister response as (sign_backend::steller_lock::ManagementCanisterSchnorrPublicKeyReply,): Fail to decode argument 0 from table0 to record { public_key : blob; chain_code : blob }"})
Below is how I am generating keypair

        canister_id: None,
        derivation_path: vec![ic_cdk::api::caller().as_slice().to_vec()],
        key_id: SchnorrKeyId {
            algorithm: SchnorrAlgorithm::Ed25519,
            name: String::from("dfx_test_key"),
        },
    };
    ic_cdk::println!("request_generate_keypair_stellar {:?}",request);


    let (res,): (ManagementCanisterSchnorrPublicKeyReply,) = ic_cdk::call(
        Principal::management_canister(),
        "schnorr_public_key",
        (request,),
    )
    .await // Add the await keyword
    .map_err(|e| format!("schnorr_public_key failed {}", e.1))?;