Film Finder_Console Error


I’m on the FIlm Finder project that I uploaded here without the API key, The issue that I am facing is this console error regarding helper.js

Could you advise what to do? I checked my code with untucked video but could not figure out what is causing the error.

I also received this error. Could someone advise?

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘poster_path’)
at displayMovie (helpers.js:89:53)
at HTMLButtonElement.showRandomMovie (script.js:66:3)

i am having same problem. cannot find solutions.

same :confused:

As indicated by the ReferenceError thrown before the TypeError , you have a typo somewhere in getMovieInfo() . Check again the response variable declaration. After correcting the typo I was able to run your code with my API key!