Every time when I run the program, I get this error “The second argument to foreach is not a list. The second argument is: empty-string”
this my blocks
![]()
After a while the list loads anyway
Every time when I run the program, I get this error “The second argument to foreach is not a list. The second argument is: empty-string”
this my blocks
![]()
After a while the list loads anyway
Maybe that’s because you have not used the list from csv block and as you have not used it the error comes as it is not defined as csv list
What’s the video about? Your title and your video differs ![]()
Did you see the content of response content?
[
{
"id": "4",
"name": "Мефодий",
"tel": "+02",
"service": "Ремонт"
},
{
"id": "3",
"name": "Акакий",
"tel": "+03",
"service": "Консультация"
},
{
"id": "2",
"name": "Lolkn",
"tel": "+799999999999",
"service": "Ремонт"
},
{
"id": "1",
"name": "Lolkn",
"tel": "+799999999999",
"service": "Перетяжка"
}
]
The error told you everything. The variable orders is not a list.
He showed the block where he initialized this variable as the empty
Try removing the swipe_refresh_layout block and see what happens