On March 8, multiple users reported invalid status codes when using our app to make payments. By night, it was back to normal. Has anyone encountered the same problem? Error Domain=SKErrorDomain Code=0 发生未知错误 UserInfo={NSLocalizedDescription=发生未知错误, NSUnderlyingError=0x283f71740 {Error Domain=ASDErrorDomain Code=500 Unhandled exception UserInfo={NSUnderlyingError=0x283f71d10 {Error Domain=AMSErrorDomain Code=100 Authentication Failed UserInfo={NSLocalizedDescription=Authentication Failed, NSMultipleUnderlyingErrorsKey=( Error Domain=AMSErrorDomain Code=301 Invalid Status Code UserInfo={NSLocalizedFailureReason=The response has an invalid status code, AMSURL=https://auth.itunes.apple.com/auth/v1/native, AMSStatusCode=403, NSLocalizedDescription=Invalid Status Code}, Error Domain=AMSErrorDomain Code=301 Invalid Status Code UserInfo={NSLocalizedFailureR
Search results for
Request failed with http status code 503
190,623 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
joelbrewer01, unfortunately no!I am now (withouth having changed my code) able to get the product list again but IAP purchases are still failing!Strangely, everything is green/OK on Apple services status pages:https://developer.apple.com/system-status/https://www.apple.com/support/systemstatus/
Topic:
App & System Services
SubTopic:
StoreKit
Tags:
I really dont know what that means i got a output which gave me Failed to install the requested application Code: 22 Failure Reason: The bundle identifier of the application could not be determined. I dont know if this is the only thing holding me back right now but its the only thing stopping from me seeing my project in the simulator Any help would be great THANKS IN ADVANCED
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Swift
Xcode
Swift Student Challenge
Swift Packages
BEHAVIOR App runs great on first install. If I close the app and reopen, many times the network requests fail, most likely due to too many open files. If I restart the app 4 times, everything seems to load fine (until next time). A fresh install works as well. APP Flutter app. Utilizes flutter map package, which displays map tile layers. Otherwise, pulls JSON/API data every so often. Heavy/frequent pulling of tile images (typically ~1000 during a single pan). PROBLEM DEVICES: Issues ONLY happens on physical iPhones (tested on 11 and 15). iOS simulators work fine. Androids work fine On the Androids or simulator, I can pan the map and pull 3000+ tile images, and overlay data, with no issues. TESTING I have inspected disposal methods, closing network clients, even tried exit(0) in various places. Have tried app lifecycle widgets on paused, detached, resumed. Nothing changes the behavior. At one point, I thought I had the issue fixed when I changed my DNS from 1.1.1.1 to automatic, since all the
Hi, For HTTP requests, I have the following function: func createAccount(account: Account, completion: @escaping (Response) -> Void) { guard let url = URL(string: http://localhost:4300/account) else { return } var request = URLRequest(url: url) request.httpMethod = POST request.setValue(application/json, forHTTPHeaderField: Content-Type) guard let encoded = try? JSONEncoder().encode(account) else { print(Failed to encode request) return } request.httpBody = encoded URLSession.shared.dataTask(with: request) { (data, response, error) in guard let data = data else { return } do { let resData = try JSONDecoder().decode(Response, from: data) DispatchQueue.main.async { completion(resData) } } catch let jsonError as NSError { print(JSON decode failed: (jsonError)) } }.resume() } Because various HTTP requests use different body structs and response structs, I have a HTTP request function for each individual
Hi Forums I have been trying to work with this snippet but seems like I can't get it just right. I have added an explain here below as I can't post an image of what I'm trying to achieve. This should send the XML commands to my server API and initiate an Environment called Animals.hwe to be shown on a videowall. note: the xmlcommand URL is changed because of the http not being allowed. My test code... import UIKit import SwiftUI let session = URLSession(configuration: .default) let url = URL(string: http........://192.168.0.196:8000/xmlcommand) var request = URLRequest(url: url) request.httpMethod = POST request.httpBody = type=open>environments/Animals.hwea1.data(using: .utf8) let task = session.dataTask(with: request) { data, response, error in // do something with the result } task.resume() // <- otherwise your network request won't be started With Rested App on Mac I can make the POST work fine with these settings: http. ..... ://192.16
Hello Apple Team We are integrating App Attest with our backend and seeing a 400 Bad Request response when calling the attestation endpoint. The issue is that the response does not include an X-Request-ID or JSON error payload with id and code, which makes it hard to diagnose. Instead, it only returns a receipt blob. Request Details URL: https://data-development.appattest.apple.com/v1/attestationData Request Headers: Authorization: eyJraWQiOiI0RjVLSzRGV1JaIiwidHlwIjoiSldUIiwiYWxnIjoiRVMyNTYifQ.eyJpc3MiOiJOOVNVR1pNNjdRIiwiZXhwIjoxNzU3MDUxNTYwLCJpYXQiOjE3NTcwNDc5NjB9.MEQCIF236MqPCl6Vexg7RcPUMK8XQeACXogldnpuiNnGQnzgAiBQqASdbJ64g58xfWGpbzY3iohvxBSO5U5ZE3l87JjfmQ Content-Type: application/octet-stream Request Body: (Binary data, logged as [B@59fd7d35) Response Status: 400 Bad Request Response Headers: Date: Fri, 05 Sep 2025 04:52:40 GMT x-b3-traceid: 4c42e18094022424 x-b3-spanid: 4c42e18094022424 Response Body (truncated): receipt: h'
hi all, any solution here?actually I am with the same problem with one user testing the app in my device (not simulator)... it is working fine with other users...I always get the following error:UserInfo={GKServerStatusCode=5000, NSLocalizedDescription=The requested operation could not be completed because local player has not been authenticated., NSUnderlyingError=0x170452ed0 {Error Domain=GKServerErrorDomain Code=5000 status = 5000, UNAUTHORIZED REQUEST (token validation failed) UserInfo={GKServerStatusCode=5000, NSLocalizedFailureReason=status = 5000, UNAUTHORIZED REQUEST (token validation failed)}}}By the way, that account user in the device is the same for iCloud, iTunes/App Store and Game Center.
Topic:
Graphics & Games
SubTopic:
GameKit
Tags:
Hi, experiencing this issue when the bundle ID is created and configured. My app's identifier on the developer website matches the bundle ID in Xcode. When my code makes any request to the Apple Music catalog, it still throws this error: Media API Token Service responded with status code: Not Found (404). This suggests that was likely not registered as a valid client identifier. Failed retrieving tokens for MusicDataRequest.Context(url: https://api.music.apple.com/v1/storefronts/nz). Error = .developerTokenRequestFailed. Is there any way to resolve this?
Topic:
Media Technologies
SubTopic:
General
Tags:
Found the following in the Console ... maybe Apple has not uploaded the symbols yet?DVTDownloadable: Download Failed. Downloadable: https:/devimages-cdn.apple.com/downloads/xcode/dsc/Watch5_2_17S5054e.dmg. Error Domain=DataWritingACSURLSessionDelegate Code=1 Failed with HTTP status 403: forbidden UserInfo={NSLocalizedDescription=Failed with HTTP status 403: forbidden, NSHTTPURLResponse=<NSHTTPURLResponse: 0x7fb37aed5eb0> { URL: https://devimages-cdn.apple.com/downloads/xcode/dsc/Watch5_2_17S5054e.dmg } { Status Code: 403, Headers { Access-Control-Allow-Origin = ( * ); Age = ( 1 ); Content-Type = ( application/xml ); Date = ( Wed, 25 Sep 2019 01:23:05 GMT ); Server = ( ATS/8.0.5 ); Via = ( https/1.1 usrtv2-edge-lx-002.ts.apple.com (ApacheTrafficServer/8.0.5), https/1.1 usrtv2-edge-bx-008.ts.apple.com (ApacheTrafficServer/8.0.5) ); cdnuuid = ( 4699d613-767a-4145-ac42-4df3f8e5cf65-8
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Got the same issue with error message App record request failed with error: Unexpected Status Code. I suspect that new agreements are available and they need to be accepted before to be able to push a new version of the app. (see below)
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
the description of 422 says:The 422 (Unprocessable Entity) status code means the server understands the content type of the request entity (hence a 415 (Unsupported Media Type) status code is inappropriate), and the syntax of the request entity is correct (thus a 400 (Bad Request) status code is inappropriate) but was unable to process the contained instructions.
Topic:
App Store Distribution & Marketing
SubTopic:
TestFlight
Tags:
Hello team, There is a Function,App create a order;When the app is all paid out,it sends me a credentials; I accept and verify; verify_and_decode_signed_transaction function have an error; requests.exceptions.ConnectionError: HTTPConnectionPool(host='ocsp.apple.com', port=80): Max retries exceeded with url: /ocsp03-applerootcag3 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 61] Connection refused')) The above exception was the direct cause of the following exception: appstoreserverlibrary.signed_data_verifier.VerificationException: Verification failed with status VERIFICATION_FAILURE def verify_purchase(self, request, *args, **kwargs): try: receipt_data = request.data.get('receipt_data') transaction_id = receiptUtilInstance.extract_transaction_id_from_app_receipt(receipt_data) sendResponse: TransactionInfoResponse = appleClientInstance.client.get_transaction_info(transaction_id) signedPayLoad: str = sendResponse.signedTransactionInfo time.sle
After upload and download my project into a new version of Xcode, I got this message Failed to install the requested application Does anyone knows how to fix this issue?
Thanks meaton. Unfortunately I have made little progress. After I call OSSystemExtensionManager.shared.submitRequest(activationRequest) I get System extension request failed: Invalid code signature or missing entitlements from: func request(_ request: OSSystemExtensionRequest, didFailWithError error: Error) { os_log(System extension request failed: %@, error.localizedDescription) status = .stopped } I am not sure why/if the code signature is invalid. I have looked through my Mac App's entitlements and can't see anything missing. FYI I have SIP disabled. I have used this sample code as a reference for my project which is currently barebones as it is in a proof of concept stage: https://developer.apple.com/documentation/networkextension/filtering_network_traffic Here is where I am trying to submit the activation request: @IBAction func startFilter(_ sender: Any) { status = .indeterminate guard !N
Topic:
App & System Services
SubTopic:
Networking
Tags: