Describe the problem/error/question
By backend has a ‘list’ GET endpoint that replies with paginated response looking like this:
{
"items": [...],
"total": 0,
...
}
And when I try to access elements of “items” list from “Code” (Python) node, I see this error below. I tried to access it via getattr, error is the same.
JavaScript Code node does NOT have this problem.
What is the error message (if any)?
TypeError: ‘builtin_function_or_method’ object is not iterable
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.102.3
- Database (default: SQLite): does not matter
- n8n EXECUTIONS_PROCESS setting (default: own, main): does not matter
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker (I believe it does not matter)
- Operating system: docker official image
