Question: I'm getting a new Fastlane error after the command below the line:

```
bundle exec fastlane beta --verbose

```

And here is the error:

`Could not receive the latest API key from App Store Connect, this might be a server issue`.

I couldn't find any solution yet.

Best

Answer: 
Solution
========

Use the command below to recreate session for Fastlane:

```
fastlane spaceauth

```

it'll send **2 Factor authentication** code to your registered device. Then you'll get the message:

```
Successfully logged in to App Store Connect

```

then it'll request you to:

```
pass the following via the **FASTLANE_SESSION** environment variable:

...some long terminal command and it's Example...

```

use the giving "Example" to pass the environment variable for Fastlane.

That's all.

I hope it'll help someone else in our universe.
I got this issue when the AppStore console was under scheduled maintenance, no workaround required, check if you're able to access the AppStore console and if not then you probably have to wait