Skip to content

Group Variables not working in headers #1299

@nick-chargely

Description

@nick-chargely

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

Setting variable at group API level is not getting picked up when passed in from the UI builder. When it is moved to the endpoint header and variable it works as designed.

Expected Behavior

Expected top be able to set the variable from the UI builder even at group level - same behavior as if it was on the endpoint level

Steps to Reproduce

  1. Go to group API (not individual endpoint)
  2. set Authorization: Bearer [jwt] at group level
  3. define a Group Variable - add jwt as the variable
  4. go to UI Builder and call this API and define jwt
  5. check the logs and you will see [jwt] is never replaced which ultimately causes a server error

Reproducible from Blank

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

Bug Report Code (Required)

IT4wlcr1z4Z2xNtD0a6Jbe9alSQWMjsmULgZl+4acCs8GqLuPe0UWMzBUBFUOPHhd2NIfU6j8T4X/Mr9j87lU+4pOUidQalyybVibgHxTnm6RYSTDJS3b0ZQBd1hI3KH4LeFmyJ5BMViLloS72CIHe+/d3bZGZu2NTJEMeaoXdeK2SrDX1iXc2URm05KZDPz

Context

Currently I am having to define the jwt at endpoint level inorder to make it work - seems like there is no way to get the variable to pass properly at group API level

Visual documentation

image
image

Additional Info

No response

Environment

- FlutterFlow version: 3.10.4
- Platform: Android / iOS
- Browser name and version: Chrome
- Operating system and version affected: Mac

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions