What is UE Context Modification Failure in 5G F1AP?

It is the unsuccessful outcome the gNB-DU sends to the gNB-CU when a UE Context Modification Request cannot be accepted at procedure level.

Who sends UE Context Modification Failure?

The gNB-DU sends it to the gNB-CU over F1-C.

What is mandatory in UE Context Modification Failure?

The mandatory IEs are Message Type, gNB-CU UE F1AP ID, gNB-DU UE F1AP ID, and Cause. In practical trace reading, the two UE IDs and Cause are the core fields to inspect.

When does the DU send failure instead of response?

The DU sends failure when none of the requested modifications can be successfully performed or when required SpCell or mobility conditions make the procedure unacceptable. If the procedure can still succeed and only some items fail, the DU uses UE Context Modification Response instead.

Why would Requested Target Cell ID appear in the failure?

For the CHO-initiation branch, the spec says the DU includes the received SpCell ID as Requested Target Cell ID in the failure so the CU can identify the rejected target-cell context.