7

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.

mingmingming
  • 345
  • 2
  • 4
  • 12

5 Answers5

13

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.

Robin Dalmy
  • 310
  • 4
  • 11
  • Hey dude did this work for you? if it did please mark this answer so other people would know. – Robin Dalmy Jun 29 '22 at 09:12
  • 2
    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: https://github.com/expo/expo-cli/issues/2436#issuecomment-682486361 – Sumeet Pareek Sep 20 '22 at 14:16
6

You can run:

npx expo start --offline
blackgreen
  • 34,072
  • 23
  • 111
  • 129
Arley Souto
  • 71
  • 1
  • 1
2

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.

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

Matija Martic
  • 252
  • 1
  • 3
  • 11
0

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.

serraosays
  • 7,163
  • 3
  • 35
  • 60