Today, hybrid systems of linear accelerator and MRI scanner are clinically available. Therefore it is important to investigate the feasibility of reference dosimetry with ionization chambers in the presence of a magnetic field and determine correction factors. In this work, correction factors under various conditions that influence the chamber response were experimentally investigated, using a conventional 6 MV linear accelerator together with a stand-alone magnet. We found that the correction factor for a PTW31010 ionization chamber ranges from 0.9873 to 1.009 depending on the magnetic field strength, magnetic field orientation and magnetic field size. The phantom material also does have an influence on the measured signal. Therefore, reference dosimetry with ionization chambers in the presence of a magnetic field is feasible, but requires dedicated correction factors, which depend on the experimental setup.