expo / expo/eas-cli

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

Open
#3,909 1 comment 2 reactions 0 assignees View on GitHub
needs review
Dominant language
TypeScript
Stars
1.4k
Forks
236
Avg merge
3d 1h
Merged PRs (30d)
91

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.