expo / expo/eas-cli

Entity not authorized Eas Build Even After Using Same Account

Open
#2,955 1 comment 0 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 init
connected with project on my account
using eas build and getting error
Original error message: Entity not authorized: AppEntity[5debf7cf-14d8-48c6-a701-50f8a55e1e3a] (viewer = RegularUserViewerContext[586ad3b3-c141-4c45-b6b7-9323f7b93788], action = READ, ruleIndex = -1)
Request ID: 1646d3f3-b846-412f-ba47-04936b49c840

Using Ubuntu

### Managed or bare?

Managed

### Environment

expo-env-info 1.2.2 environment info:
System:
OS: Linux 6.11 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
Shell: 5.2.21 - /bin/bash
Binaries:
Node: 23.10.0 - /usr/bin/node
npm: 10.9.2 - /usr/bin/npm
SDKs:
Android SDK:
API Levels: 33, 34
Build Tools: 33.0.0, 34.0.0
npmPackages:
expo: ~52.0.38 => 52.0.39
expo-router: ~4.0.19 => 4.0.19
react: 18.3.1 => 18.3.1
react-dom: 18.3.1 => 18.3.1
react-native: 0.76.7 => 0.76.7
react-native-web: ~0.19.13 => 0.19.13
Expo Workflow: managed

npx expo-doctor
5/15 checks passed. No issues detected!

### Error output

sudo EXPO_DEBUG=true eas build --local
✔ Select platform › Android
You don't have the required permissions to perform this operation.

This can sometimes happen if you are logged in as incorrect user.
Run eas whoami to check the username you are logged in as.
Run eas login to change the account.

Original error message: Entity not authorized: AppEntity[5debf7cf-14d8-48c6-a701-50f8a55e1e3a] (viewer = RegularUserViewerContext[586ad3b3-c141-4c45-b6b7-9323f7b93788], action = READ, ruleIndex = -1)
Request ID: 8f508b0c-60d8-4b65-b08a-1da3beb5c834
CombinedError: [GraphQL] Entity not authorized: AppEntity[5debf7cf-14d8-48c6-a701-50f8a55e1e3a] (viewer = RegularUserViewerContext[586ad3b3-c141-4c45-b6b7-9323f7b93788], action = READ, ruleIndex = -1)
at makeResult (/usr/local/lib/node_modules/eas-cli/node_modules/@urql/core/dist/urql-core-chunk.js:381:43)
at fetchOperation (/usr/local/lib/node_modules/eas-cli/node_modules/@urql/core/dist/urql-core-chunk.js:744:71)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async /usr/local/lib/node_modules/eas-cli/node_modules/wonka/dist/wonka.js:346:20 {
graphQLErrors: [
{
extensions: [Object],
message: 'Entity not authorized: AppEntity[5debf7cf-14d8-48c6-a701-50f8a55e1e3a] (viewer = RegularUserViewerContext[586ad3b3-c141-4c45-b6b7-9323f7b93788], action = READ, ruleIndex = -1)',
locations: [Array],
path: [Array]
}
],
networkError: undefined,
response: Response {
size: 0,
timeout: 0,
[Symbol(Body internals)]: { body: [PassThrough], disturbed: true, error: null },
[Symbol(Response internals)]: {
url: 'https://api.expo.dev/graphql',
status: 200,
statusText: 'OK',
headers: [Headers],
counter: 0
}
}
}
Error: GraphQL request failed.

### Reproducible demo or steps to reproduce from a blank project

Update Eas CLi to Latest Version

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.