I had this issue when pulling data from an ASO cube. I was able to isolate the problem by creating a copy of the cube and gradually removing some of the formulas. I found that a formula that had worked for a number of months was now throwing this error. I changed the solve order which was previously 0 to 10 and I coud once again pull data. I then found that I had to change the solve order of the ancestors as well so the totals would show.