Closed sindat closed 5 years ago
let videoTitle = jsonObject.body.items[0].snippet.title;
TypeError: Cannot read property '0' of undefined
This is spit out when I run the API server code. Something is wrong with Request, it's not getting through, test it. (the youtube API)
Issue solved, I was calling the whole class twice (forgot to comment out test code in core library)
let videoTitle = jsonObject.body.items[0].snippet.title;
TypeError: Cannot read property '0' of undefined
This is spit out when I run the API server code. Something is wrong with Request, it's not getting through, test it. (the youtube API)