eas-build failed to setup credentials

Running a build in CI/CD after a successful build and upload run on my local machine.

49	+ npx eas-cli build --platform=all --profile=development --non-interactive
87s
50	Using EAS CLI without version control system is not recommended, use this mode only if you know what you are doing.
95s
51	- Linking to project @username/project
96s
52	✔ Linked to project @username/project
96s
53	✔ Using remote Android credentials (Expo server)
97s
54	✔ Using Keystore from configuration: Build Credentials ID_HERE (default)
97s
55	- Compressing project files
98s
56	- Uploading to EAS Build (0 / 5.6 MB)
99s
57	✔ Uploaded to EAS 
99s
58	- Linking to project @username/project
100s
59	✔ Linked to project @username/project
100s
60	✔ Using remote iOS credentials (Expo server)
100s
61	
100s
62	Failed to setup credentials.
101s
63	    Error: You're in non-interactive mode. EAS CLI couldn't find any 
101s
64	    credentials suitable for internal distribution. Please run again in 
101s
65	    interactive mode.

Here’s my eas.json:

{
  "build": {
    "release": {},
    "development": {
      "developmentClient": true,
      "distribution": "internal"
    }
  }
}```

running the same command locally, under the same account, succeeds?

I’ve been running it locally in interactive mode. I set up my EXPO_TOKEN env variable in drone so that I could run in non-interactive mode.

Could you try running it locally not in interactive mode? Then running it using the EXPO_TOKEN env variable?

In the logs you shared above, does the Linking to project @username/project match what you’d expect the values to be for username and project?

Did you have a fix on this issue? Facing same issue but no response from anyone. MyBalanceNow