Google Data Studio has a limitation on response sizes. Responses cannot exceed 50MB. If a response exceeds this limit, you’ll get back a truncated response which cannot be parsed to JSON. This results in an exception:
SyntaxError: Unterminated string literal
To fix, reduce the size of the response, possibly by paging the response or by filtering the response further.