Skip to content

API Group Variable not populating in test mode #1193

@DeltaForce007

Description

@DeltaForce007

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 created an API group and given it a group variable of Authorization: Bearer [auth_token]. I then test the api from the Response and Test option and give the variable the required auth token.

The test passes and I get the response that I expect.

When I add the api to a project and then run the project in test mode the group variable is passed like Authorization: Bearer [auth_token] without assigning the variable I am giving [auth_token]

image
image
image

Expected Behavior

I expect the variable that I am assigning to the group variable in the project to act the same way as when I test the api directly in flutterflow.

Steps to Reproduce

  1. Create an API group
  2. Give it a group variable
  3. add an api to use that group variable
  4. use that api in a project
  5. check request actually sent

Reproducible from Blank

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

Bug Report Code (Required)

ITFflvHl8ZFOxd9c0b6JYfoxpDsWQmEcTLkvjuphcz8YGIztBJh/ePfeSEloOMjgY2lhHGD/jXEG+c7luOHTEMAEJSeBG487+M5QbAnzTXq8Rq6yEoeVdGsnTdFVGnKa08CNhhElPtNoLWwB11+qOty8Vj7dCZ+/Zwh9f6PHaOI=

Context

I am trying to call third party api's and can't proceed as I can't assign the auth token.

Visual documentation

image
image
image

Additional Info

No response

Environment

- FlutterFlow version: 3.10.4
- Platform: Web
- Browser name and version: Chrome
- Operating system and version affected: macOS Ventura 13.3.1

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions