response
appears to be an array. There isn’t a single name
property to be accessed, but (presumably) one for each item in the array:
console.log(response[0].name);
console.log(response[1].name);
etc…
1
solved How to access js Object [duplicate]