diff --git a/examples/common/tracing/decoder/interaction_model/Decoder.cpp b/examples/common/tracing/decoder/interaction_model/Decoder.cpp index 7e75e4078d04fd..5400b773418666 100644 --- a/examples/common/tracing/decoder/interaction_model/Decoder.cpp +++ b/examples/common/tracing/decoder/interaction_model/Decoder.cpp @@ -135,7 +135,7 @@ CHIP_ERROR DecodeStatusResponse(TLV::TLVReader & reader, bool decode) #if CHIP_CONFIG_IM_ENABLE_SCHEMA_CHECK if (decode) { - app::InvokeRequestMessage::Parser parser; + app::StatusResponseMessage::Parser parser; ReturnErrorOnFailure(parser.Init(reader)); return parser.CheckSchemaValidity(); }