While trying to fetch a JSON array from my RESTful server, I got stuck with this cryptic error message in my Firefox developer console.
The problem was that I had a promise being returned so as to subscribe to it, which was being assigned to an array type. I got some inputs from the discussion here.
Hope the discussion helps.