ampproject / ampproject/amphtml
Error : Response must contain an array or object at "feed.entry". amp-list
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
I am getting this error while making amp list with _CORS proxy_
https://cdn.nixs.in/cdn/cors/?url=https://www.nixs.in/feeds/posts/default?alt=json
my code
`
`
its returns `**Response must contain an array or object at "feed.entry". amp-list**`
but my array object in the **feed.entry** location


### Reproduction Steps
I found few links where some solution given but no one work for me
https://stackoverflow.com/questions/49020895/how-to-remove-this-error-response-must-contain-an-array-at-while-making
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
### Relevant Logs
_No response_
### Browser(s) Affected
Chrome
### OS(s) Affected
_No response_
### Device(s) Affected
_No response_
### AMP Version Affected
_No response_
Contributor guide
Research direction
Start with the AMP list markup in the issue and reproduce it using the linked JSBin. Inspect the response returned by the CORS proxy and how the `feed.entry` path is read, then compare that with the reported error and linked prior issues. Done means the reproduction no longer reports the response-shape error with the provided feed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100