I have method to get data from back end to array
Here is method
getUtilities(): void {
// DropdownHelpers.fillDropdownOptions(
// this._propertyService.getMarketingInformationUtilityTypes(),
// this.utilities
// );
this._propertyService.getMarketingInformationUtilityTypes().subscribe(result => {
this.utilities = result.items;
console.log(this.utilities);
});
}
and here is what I see in the console
But when I try to do *ngFor="let utility of utilities"
I got
MarketingEditComponent.html:38 ERROR Error: Cannot find a differ supporting object '[object Object]' of type 'object'. NgFor only supports binding to Iterables such as Arrays.
Where is my problem? Data is returning to array

this.utilitiesmaybe undefined before the API call - at that time it's not an array. Add*ngIfbefore the loop to check if it is an array OR initialize it to an empty array when you define it.utilities: any[] = [];@Davidconsole.logcomes fromedit-property-market..ion.component.ts, but the error message comes fromMarketingEditComponent.html. Can you post your HTML and TS forMarketingEditComponent.