I had a similar issue pasting long json strings into the console (i.e. ending in "+"). This discussion Does Console impose an upper limit on the length of strings cleared it up for me. Sourcing from a script doesn't have the same limit.
1 Like