UCB is failing to get credentials

From yesterday we see that UCB is failing to get credentials that are set for a jobs, I tried couple of jobs with different credentials and all are failing. UCB statuses are green, but oh well, not working.

#1

[2024-04-19T08:12:33.769Z] - 7.4.2.2.7.4 - INFO: installing iOS credentials for[projectId]/abc0041b-e65d-40b2-86b6-5ccca5001eac - bingo-ios-prod
! installing iOS credentials failed. downloading iOS credentials failed: Unknown credentialid 'credentialId1'```

#2
```[2024-04-19T07:15:37.638Z] - 7.4.2.2.7.4 - INFO: ++++++++++++++++++++ SECTION ++++++++++++++++++++
[2024-04-19T07:15:37.638Z] - 7.4.2.2.7.4 - INFO: installing iOS credentials for [projectId]/abc0041b-e65d-40b2-86b6-5ccca5001eac - bingo-ios-dev
! installing iOS credentials failed. downloading iOS credentials failed: Unknown credentialid 'credentialId2'```

#3

[2024-04-19T07:21:50.150Z] - 7.4.2.2.7.4 - INFO: + Fetch Android KeyStore
[2024-04-19T07:21:50.150Z] - 7.4.2.2.7.4 - INFO: ++++++++++++++++++++ SECTION ++++++++++++++++++++
[2024-04-19T07:21:50.150Z] - 7.4.2.2.7.4 - INFO: Fetching Android Keystore for project [projectId]/abc0041b-e65d-40b2-86b6-5ccca5001eac and credential [credentialId3]
Unknown credentialid ‘credentialId3’

1 Like

I’m also getting similar errors when trying to do iOS cloud builds

[2024-04-19T23:55:06.313Z] - 7.4.2.2.7.4 - INFO: installing iOS credentials for ‘id’ - ‘config’
! installing iOS credentials failed. downloading iOS credentials failed: Unknown credentialid ‘credentialid’

We’re experiencing the same error for one of our project, recently. We can’t build for mobile (iOS/Android) because 100% chance to get this error.

What I noticed is that the error does not occur for another project which shares the same repo, inside the same organization, with the same config settings, with the same shared credentials.

Android:

iOS:

@mjs9513 @psyhama We today resolved the issue with help from the Unity team
We have found the issue and are addressing it, although a fix is not likely to go through before the weekend. That said, you can fix this for the project itself by adjusting the permissions for the current project owner (who does not seem to be in the organization), [email of that user]. Essentially demoting them to any role other than owner should fix the issue.

So basically check if you have someone in your organization that is not working anymore, and his account is not active but still figures as a owner. It resolved issue for us. If not then wait for the proper fix from Unity team.

1 Like

Hi @kintripledot ,
Your information helped us a lot!

Our project has some owners which leaved our organization. I changed the types of these users from owner to regular member, and it worked! Now CloudBuild working again.

Thank you very much!