angular/aio/content/errors/NG2200.md
Jessica Janiuk f86e0948f8 fix(core): Updates error to use RuntimeError code (#46526)
This updates the iterable differ error to use more up-to-date error
codes.

PR Close #46526
2022-06-28 00:29:54 -07:00

537 B

@name Missing Iterable Differ @category runtime @shortDescription 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 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.