Getting Error When Trying to Loop Through a JSON Array of ObjectsThe response data is a JSON string, not an object.Use JSON.parse to convert the string before looping.