diff --git a/PWGLF/TableProducer/Nuspex/decay3bodybuilder.cxx b/PWGLF/TableProducer/Nuspex/decay3bodybuilder.cxx index bcd914b3df3..633dd9dbb96 100644 --- a/PWGLF/TableProducer/Nuspex/decay3bodybuilder.cxx +++ b/PWGLF/TableProducer/Nuspex/decay3bodybuilder.cxx @@ -501,7 +501,8 @@ struct decay3bodyBuilder { auto timestamp = bc.timestamp(); o2::parameters::GRPMagField* grpmag = 0x0; - grpmag = ccdb->getForTimeStamp(ccdbConfigurations.grpmagPath, timestamp); + ccdb->clearCache(ccdbConfigurations.grpmagPath); + grpmag = ccdb->getSpecific(ccdbConfigurations.grpmagPath, timestamp); if (!grpmag) { LOG(fatal) << "Got nullptr from CCDB for path " << ccdbConfigurations.grpmagPath << " of object GRPMagField for timestamp " << timestamp; }