Skip to content

eas build fails with "GraphQL request failed" when pulling env variables for production environmen #3909

Description

@Muswalo

Build/Submit details page URL

No response

Summary

eas build --profile production --platform android consistently fails when attempting to pull environment variables for the production environment. The error is a
generic network/GraphQL failure with no additional detail.

Managed or bare?

managed

Environment

  • EAS CLI: 20.4.0
  • Node: v24.15.0
  • OS: Ubuntu 24.04, Linux 6.17.0-35-generic x86_64
  • Expo SDK: 54
  • Package manager: Bun 1.3.13

Error output

✔ Select platform › Android
Resolved "production" environment for the build. Learn more
Failed to pull env variables for environment production from EAS servers
[Network] request to https://api.expo.dev/graphql failed, reason:
This can possibly be a bug in EAS/EAS CLI. Report it here: https://github.com/expo/eas-cli/issues
request to https://api.expo.dev/graphql failed, reason:
Error: GraphQL request failed.

Reproducible demo or steps to reproduce from a blank project

  1. Create environment variables with eas env:create --environment production
  2. Run eas build --profile production --platform android
  3. Select Android when prompted

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reviewIssue is ready to be reviewed by a maintainer

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions