TypeError: Failed to fetch

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Joshuaschist
    New Member
    • Sep 2020
    • 10

    TypeError: Failed to fetch

    TypeError: Failed to fetch

    (anonymous function)

    req.end((red) => {
    "If (res.error) throw new Error(res.error );" // <= uncaught (in promise) Error: TyperError: Failed to fetch
    const movies = res.body.Search
    this.set state({ movies });
    //console.log(res .body.Search);
    });
Working...