JavaScript Asynchronous Programming with JavaScript Understanding Promises From Callbacks to Promises

A 'person' in generateHTML() doesn't have a thumbnail property, crashing the entire program

My code is exactly the same as that of Guil, but the site kept popping an error message, indicating thumbnail is not defined. As I ran chrome dev tool to debug, I noticed Aleksandr Skvortsov's Wikipedia JSON doesn't contain a thumbnail property. Posting for Treehouse Staff to notice, but I'll really appreciate it if anyone can come up with a quick fix!

1 Answer

54,369 Points

Here is a previous forum question that may be helpful.