Although you don't mention which error message(s) you are getting, last time I checked you needed to set the end date/time parameter in the historical data request call to a date/time within the life of the expired futures contract (preferably near, or at, the expiration date of the contract). Hope this helps.
--