Thanks for getting back to me!
It wasnt that, I figured out the issue, I had a condition with an array object to push another object into the array based on set of values...so GLB didnt like that - and I can see that it would not be good-practice anyway.