Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
This site is no longer updated.Head to Angular.devHome
/

This is the archived documentation for Angular v17. Please visit angular.dev to see this page for the current version of Angular.

NG02200: Cannot find a differ for object in ngFor

Description

NgFor could not find an iterable differ for the value passed in. Make sure it's an iterable, like an Array.


Debugging the error

When using ngFor in a template, you must use some type of Iterable, like Array, Set, Map, etc. If you're trying to iterate over the keys in an object, you should look at the KeyValue pipe instead.