Error trying to diff ‘[object Object]’ in Angular

Your extractData (and possibly also your HTTP API) is returning an object {} – ngFor requires an array [] to iterate.

Change your service/API to produce an array, or transform the object in your component.

Leave a Comment