Skip to content

API Call only returning first item in list, instead of all items #635

@Fibn007

Description

@Fibn007

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

In Postman, I call a product API and receive all 10 items and their respective fields. However, in FF, when I call the exact same API and pass the exact same information, it only returns the first item in the list. I'll provide pictures below to describe the issue.

Expected Behavior

When prompted to provide all items in the API, FF should provide all the items in the API, not just the first one.

Steps To Reproduce

  1. Create an API call that returns multiple indexed items.
  2. See that FF only receives the first item.

Bug Report Code

IT48kvLlw4tNrsdG+KXydcFFmjgWQ187aLsVi+5tTUs8KOPdOoYUP8+kM0RBXeG9YFV+M1n8p2oW08LXiPLxEcEpHw+sRr5AwaoBewqUXkeVaYSRFJWge3ZRM+5RCW6Yy7SJpB1+GMt1SGwb61yyDPO9QgTbJ4CzDFgsDq/LZO4=

Context

I'm trying to provide a list of (up to) 10 search results, but FF is limiting me to only provide the first item in a list.

Additional info

Successful API Call with multiple items (Cut it off midway through 2nd item to not show more than needed):

API picture #1
API picture #2

Successful FF API Call with only 1 item returned:
FF Api #1
FF Api #2

Environment

- FlutterFlow version: 3.7.3
- Platform: Web
- Browser name and version: Chrome v110.0. 5481.178
- Operating system and version affected: Windows 10

Metadata

Metadata

Labels

status: needs triageA potential issue that has not been confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions