A method for operating an agricultural machine, in which material is spread from a storage container via a distributor linkage, where in a decoupling mode with said distributor linkage decoupled in an override mode, regulation is effected to an absolute inclination value of said distributor linkage relative to the direction of gravity based on sensor signals of at least one first sensor device for determining the inclination of said distributor linkage, and when corners are turned, a measurement error of said first sensor device is corrected based on sensor signals of at least one second sensor device for determining a centrifugal force and/or a centrifugal acceleration acting upon said first sensor device when said machine is turning corners by measuring an angular rate of the distributor linkage about a vertical axis, the vertical axis being normal to the at least one axis of rotation extending in the direction of travel, wherein said second sensor device comprises an angular rate sensor configured to measure the angular rate of said distributor linkage about the vertical axis.