Skip to content

Global variables not working in 1.9.0 local #11765

Closed

Description

@NavyCS

👟 Reproduction steps

  1. Go to 'Settings/Global variables'
  2. Click on 'Import .env or Create a global variable...'
  3. Drop a .env or create a variable.
  4. Press Import or create
  5. error: Param "variableId" is not optional.

👍 Expected behavior

Save the variables.

👎 Actual Behavior

Error.

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Windows

🧱 Your Environment

1.9.0 local.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Activity

  1. added theissue type on Apr 3, 2026
  2. WasserEsser commented on Apr 3, 2026

    @WasserEsser

    The same happens for me.

  3. Maurice045 commented on Apr 5, 2026

    @Maurice045

    same here, is there a eta for a hotfix? with about 40 functions it is undoable to add vars to each function individual! at the moment we are fcing a huge business impact because of this

  4. rathi-yash commented on Apr 5, 2026

    @rathi-yash

    Hey, can this bug be assigned to me please? I have identified the issue

  5. aakarsh12x commented on Apr 8, 2026

    @aakarsh12x

    I traced this locally to POST /project/variables: the project variable create endpoint still requires ariableId, while Functions and Sites already generate variable IDs server-side. That makes the Console/global variables flow fail before the existing unique() handling can run.\n\nI opened #11823 to make ariableId optional with a default of unique(), and added a regression test that creates a project variable without sending the field. @ChiragAgg5k @Meldiron please review this PR

  6. emilycarter6561-byte commented on Apr 8, 2026

    @emilycarter6561-byte
  7. bellahadid27211-lab commented on Apr 8, 2026

    @bellahadid27211-lab
  8. rathi-yash commented on Apr 8, 2026

    @rathi-yash

    i have pushed out the fix on [#11795] with the requested changes. Can someone re-review and approve it please?
    @eldadfux @HarshMN2345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions