Openfoam overset mesh error

I am attempting to couple OpenFOAM with a dummy solver, referring to the solid4Foam cylinder overset mesh as a reference. Without the precice function in controlDict , it runs without errors. However, when I add the function and controlDict and preciceDict , it shows an error.

FOAM FATAL IO ERROR: (openfoam-2312)
inconsistent patch and patchField types for
patch type overset and patchField type zeroGradient

file: 0/zoneID/boundaryField/oversetPatch at line 28955.

Drive link