diff --git a/Xcodes/AppleAPI/Sources/AppleAPI/Client.swift b/Xcodes/AppleAPI/Sources/AppleAPI/Client.swift index 6f33a4a..5b9bd08 100644 --- a/Xcodes/AppleAPI/Sources/AppleAPI/Client.swift +++ b/Xcodes/AppleAPI/Sources/AppleAPI/Client.swift @@ -180,6 +180,8 @@ public class Client { return (data, urlResponse) case 400, 401: throw AuthenticationError.incorrectSecurityCode + case 412: + throw AuthenticationError.appleIDAndPrivacyAcknowledgementRequired case let code: throw AuthenticationError.badStatusCode(statusCode: code, data: data, response: urlResponse) }