AppDistribution failed with 403 error on Xcode 15.3

348 Views Asked by At

Xcode 15.3 I'm trying to send build to TestFlight through Xcode and got this error:

AppsService: ResponseErrors (1): Error status: 403, code: FORBIDDEN.OFAC_UNCLEARED, title: 'This Apple ID has not been cleared by sanctions.', detail: 'This Apple ID has not been cleared by sanctions, so it cannot access this page.', id:___

PS. I have application in ASC with this version.

In the Agreement section there are no pending agreements enter image description here

Upd: I go dive deep into Organizer logs and found these:

2024-03-07 00:21:01 +0000  App Store Connect team IDs for account (null) are (
    REDACTED,
    REDACTED,
    REDACTED,
    REDACTED,
    REDACTED,
    REDACTED
)
2024-03-07 00:21:02 +0000  Step failed: <IDEDistributionFetchAppRecordStep: 0x600055c6ab20>: IDEFoundation.DistributionAppRecordProviderError.appRecordRequestFailed(DVTAppStoreConnect.AppsService.Error.responseErrors(ResponseErrors (1): Error status: 403, code: FORBIDDEN.OFAC_UNCLEARED, title: 'This Apple ID has not been cleared by sanctions.', detail: 'This Apple ID has not been cleared by sanctions, so it cannot access this page.', id: REDACTED))
2

There are 2 best solutions below

3
Huzaifa Kamran On

Open up Apple developer account, I'm sure there is a new agreement that you have to accept before publishing to app store.

1
Robot Bender On

I found problem – I use different accounts in Xcode and in ASC so I didn't see the Compliance request enter image description here