To test this i just reduced the number of records to just 10. I was able to save it correctly. It appears to me that it has something to do with the size of the data.