Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run the example app "native-component-list" -> ApiV2Error in this repo #19837

Open
Nxtra opened this issue Nov 3, 2022 · 2 comments
Open

Comments

@Nxtra
Copy link

Nxtra commented Nov 3, 2022

Summary

When running the example app "native-component-list" with the expo go app I get the following error message:
ApiV2Error: Entity Not Authorized.

Things I've tried to resolve the issue

  • I've tried logging out and logging in again.
  • My expo go client is logged in with the same account as my cli.
  • I've tried creating another expo account and logging in with that account on cli and expo go app.
  • I tried removing "owner" from app.json

How can I run the example app in apps/native-component-list without getting the ApiV2Error?

Managed or bare workflow?

managed

What platform(s) does this occur on?

Android

Package versions

https://github.com/expo/expo/blob/main/apps/native-component-list/package.json

Environment

expo-env-info 1.0.5 environment info:
System:
OS: macOS 12.0.1
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 16.12.0 - ~/.nvm/versions/node/v16.12.0/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 8.1.0 - ~/.nvm/versions/node/v16.12.0/bin/npm
Watchman: 2021.06.07.00 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.7199119
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
npmPackages:
expo: ~47.0.0-alpha.1 => 47.0.0-beta.8
react-native: 0.70.4 => 0.70.4
npmGlobalPackages:
eas-cli: 2.6.0
expo-cli: 6.0.6
Expo Workflow: managed

Reproducible demo

  • git clone --depth 1 --single-branch --branch main git@github.com:expo/expo.git
  • yarn install
  • cd apps/native-component-list
  • npx expo start
  • scan qr code with expo go client
  • enter expo email and password if not logged in yet
  • ApiV2Error: Entity Not Authorized.

Stacktrace (if a crash is involved)

No response

@brentvatne
Copy link
Member

hi there! in order to run this, you need to remove the EAS projectId from app.json:

"extra": {
"eas": {
"projectId": "2c28de10-a2cd-11e6-b8ce-59d1587e6774"
}
}

this is an unnecessary point of friction, we'll clean this up. thanks for trying to contribute!

@brentvatne brentvatne added Issue accepted and removed needs validation Issue needs to be validated labels Nov 25, 2022
@expo-bot
Copy link
Collaborator

Thank you for filing this issue!
This comment acknowledges we believe this may be a bug and there’s enough information to investigate it.
However, we can’t promise any sort of timeline for resolution. We prioritize issues based on severity, breadth of impact, and alignment with our roadmap. If you’d like to help move it more quickly, you can continue to investigate it more deeply and/or you can open a pull request that fixes the cause.

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

No branches or pull requests

4 participants