Expo Error on launching the app. "ApiV2Error: Account not found. "
Asked Answered
M

5

14

Good day,

I am using and expo version 5.4.12 I tried running my app I got an error on launch

"ApiV2Error: Account not found.
    at ApiV2Client._requestAsync"

anyone who had this issue ? please help me.

Messier answered 28/6, 2022 at 10:21 Comment(2)
My coworker currently has this problem, I'll let you know if we find somethingHarmonicon
Thank you @Matjia Martic for his comment: https://mcmap.net/q/793580/-expo-error-on-launching-the-app-quot-apiv2error-account-not-found-quot this works for meKatlaps
H
19

For us, the problem was that the owner property in app.json did not match the owner for whatever account you're logged into on expo-cli or your expo go app. So just try to check if owner property is correct.

Harmonicon answered 28/6, 2022 at 13:41 Comment(2)
Hey dude did this work for you? if it did please mark this answer so other people would know.Harmonicon
To get rid of this error you need to logout of expo on your command line with expo logout and then launch the app again. It worked for me. Found solution from a friend who pointed me to this answer on github: github.com/expo/expo-cli/issues/2436#issuecomment-682486361Tidewater
M
14

You can run:

npx expo start --offline
Meshwork answered 4/11, 2022 at 18:51 Comment(0)
C
5

This is an actual solution but for me it worked by logging out from the terminal with expo logout and after I relaunched expo the message was gone.

Celandine answered 20/3, 2023 at 6:26 Comment(0)
D
3

expo logout worked for me and it seems that command clears local login state. This is probably happening because you're collaborating on a project where you aren't the owner. Expo apparently authenticates per user, not per project, which can be confusing.

You'll eventually need to run expo login to actually publish your app with the Expo App Services (EAS). It's worth reading through the EAS guides to learn more about what's going on.

Dedededen answered 25/5, 2023 at 12:17 Comment(0)
I
0

I ran in circles with this error (expo logout + login did not work) until I tried eas logout as suggested in this video https://www.youtube.com/watch?v=NuzaoTZpBrw That worked for me

Inflow answered 5/12, 2022 at 21:58 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.