-
Notifications
You must be signed in to change notification settings - Fork 478
ApiV2Error: Not Authorized when launching #2436
Comments
I checked and with expo-cli@3.20.3 I don't have this problem |
I was logging with another user on expo-cli, not sure if this error has been introduced recently? Feel free to close the issue in case. |
When you authenticate, it writes a session token to the expo cache directory. If you logged in with another user in the CLI, it could overwrite this path and possibly messing this up. Glad you got it working anyways 😄 |
@byCedric not sure if this should be closed. I just ran into this as well and found that downgrading to |
Posting even though it's closed. Dunno if this is an actual solution but for me it worked by logging out from the terminal with |
I have only run into this when Javascript Debugging is enabled. But when the error happens, I can't disable Javascript Debugging. However, |
|
npx expo start --offline works for me |
if the error displayed is this first make sure you have expo-cli installed if you have it installed on your machine, just give the command if expo-cli is not installed when trying to run the project it will ask to log in with an account |
I had the same issue and changing/removing You also need to remove the |
@vestimir comment was working for me. Very painful problem when trying to work on a flight. Thank you! |
None of the above appears to work for me. @vestimir what "eas" config are you speaking off as I don't see any eas config in the app.json Must have been blind. "extra": {
"eas": {
"projectId": "a7070fc4-41f3-403d-826d-292b5d868327"
}
}, |
@OneHatRepo Thank you so much! |
ApiV2Error: Entity Not Authorized. Persists.
Same user on expo-cli and expo client. With extra.eas.projectId defined.
|
thank you this works like magic |
same error not fix it |
This worked. |
Maybe what works with I was able to solve the problem with the following steps, and I hope it will be helpful to someone else.
I wish you luck in resolving this issue. |
just lougout into expo accout by running: expo logout |
One other scenario/solution:
This is will add a new projectId to your expo account and update the |
I only removed row which starting with url. It worked for me. The key which is included in url, was same as eas key |
- As per comment from expo/expo-cli#2436 (comment)
I got the similar issue and maybe this helps. |
Upgraded to latest expo-cli, cannot launch on ios anymore
Expected Behavior
expo r -c
Observed Behavior
Error below
Environment
Expo CLI 3.23.3 environment info:
System:
OS: macOS 10.15.6
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.13.1 - ~/.nvm/versions/node/v12.13.1/bin/node
Yarn: 1.22.4 - ~/.yarn/bin/yarn
npm: 6.12.1 - ~/.nvm/versions/node/v12.13.1/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Android Studio: 3.4 AI-183.6156.11.34.5692245
Xcode: 11.6/11E708 - /usr/bin/xcodebuild
npmPackages:
expo: ^37.0.0 => 37.0.12
react: 16.9.0 => 16.9.0
react-native: https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz => 0.61.4
react-navigation: ^4.0.10 => 4.3.9
npmGlobalPackages:
expo-cli: 3.23.3
Reproducible Demo
I am not sure how to reproduce it outside of my computer
The text was updated successfully, but these errors were encountered: