It’s that second call that is the problem. The routine calls it for EconomyDatabase which is a string. Then in the code it calls it again with this statement:
local dataStore = DataStore2(combinedDataStoreInfo[dataStoreName], player)
My code would then print out:
DATA string
Somewhere I think your DATA value got corrupted or something. You might be able to start fresh and change the data store name like so:
datastoreService:Combine("DATA2", "EconomyDatabase")