Random Quote Machine - JSON problem

I’ working on RQM. But I can’t query the third JSON file. Why not? What’s wrong?


Thanks for help.

Took me a while to think of this, but that last file isn’t valid JSON. I pasted the contents of the gist into https://jsonlint.com and got this error:

Error: Parse error on line 34:
...nroe"	],	"text": [“Don 't cry because 
---------------------^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', ']', got 'undefined'

However, I think it’s actually mad about the curly quotes “ which should be straight quotes "

1 Like

Yes. That’s right. It is the problem. Thanks.
I will fix it tomorrow. Now i am falling in sleep… zzzzzzz