Skip to content

Api call query parameters are being sending everytime #2723

Open
@szymonpodwyszynski

Description

@szymonpodwyszynski

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

I have an api call with some query parameters in it. When i test it in Response & test everything is ok, but after i add it in my app and open session test / deploy it to mobile, api call sends a request with all the query parameters even if i don't choose them. If i don't choose them, then api call sends default value put in a variable, or empty string (or null if its a different type).

Expected Behavior

Api call should work like in Response & Test in api configuration. When i don't choose query parameters, then they are not being send.

Steps to Reproduce

  1. Create api call
  2. Create some query parameters
  3. Test what is being send on Response & Test (what is being received on server side)
  4. Put api call on page in app
  5. Open session test
  6. Turn on this api call in app
  7. See what is being received on server side

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4Wj+flvYtOmMNY1rruY+9VoCURNlw2a7g7kcN+GE4cF4ioE7YPW/7BSFRuYc/jSnNcP2Gi8WId0+zHkuDhUscXPiiqf7o7+KgBUQ7jcHO7V4iKEpeSREElJ/hRfRSHzbeJvRFSNs5vWmwi2DmqHfPKEyzcO6bRNm4FOeakBKX4pGibABzOXn0Jg1ZSfCvr

Context

This issue occured if i remember correctly on friday/thursday of last week, as i have not seen this issue before even tho i work with api calls daily. This issue breaks our apps and needs to be fixed asap.

Visual documentation

Current api configuration:
Screenshot 2024-04-15 at 11 07 08

Correct return value tested on Response&Test:
Screenshot 2024-04-15 at 11 07 20

Correct received api call on server side:
Screenshot 2024-04-15 at 11 08 26

In app configuration of the same api call:
Screenshot 2024-04-15 at 11 07 48

Returned value from api call made in app on session test:
Screenshot 2024-04-15 at 11 08 07

Incorrect received on server side api call, made in app:
Screenshot 2024-04-15 at 11 08 16

Additional Info

No response

Environment

- FlutterFlow version: Flutterflow V4.1 released 11 April 2024
- Platform: Web and macOS
- Browser name and version: Version 123.0.6312.122 (Official Build) (arm64)
- Operating system and version affected: macOS Sonoma Version 14.4.1 (23E224)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions