I'm trying to figure out why the scenario is crashing. Its been a while since I used Cube, so I need a refresher as to what this error (in the attached jpeg) could be.
Hello Jeremy. It seems that the record has TAZID = 2495, which is higher than the dimension of the array that you are defining:
Therefore, it might be that you need to increase the dimension of the array to store higher indices, or you can impose an IF condition based on the RI.TAZ.