Response must contain an array or object at "feed.entry". amp-list

167 Views Asked by At

I am getting this error while making amp list with CORS proxy my code

<amp-list items='feed.entry' layout="fixed-height" height="100" src="https://cdn.nixs.in/cdn/cors/?url=https://www.nixs.in/feeds/posts/default?alt=json" binding="no"> <template type="amp-mustache"> <div>{{#title}}{{$t}}{{/title}}</div> </template> </amp-list>

its returns Response must contain an array or object at "feed.entry". amp-list but my array object in the feed.entry location

I found few links where some solution given but no one work for me

how to remove this error "Response must contain an array at " . "." while making dropdown

https://github.com/ampproject/amphtml/issues/10613 https://github.com/ampproject/amphtml/issues/9687

here is my code https://jsbin.com/yoruvalego/edit?html,js,output

enter image description here enter image description here

0

There are 0 best solutions below