Hey everyone,Im designing a web app that uses the Apple Music API to have all the same functionality as the Music app on the iPhones. My problem is that im getting 401 status codes when trying to retrieve users recently played and recently added. Im using Angular and the HTTPClient module to handle the requests and the reuqest is going through but its throwing the 401. My developer token is good for 6 months and im signed in using my personal Apple Music account. Any suggestions?Also heres how im handling the requests:app.module.ts: (I import the HTTPClientModule here) import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core';import { AppRoutingModule } from './app-routing.module';import { AppComponent } from './app.component';import { UiModule } from './ui/ui.module';import { HttpClientModule } from '@angular/common/http';@NgModule({ declarations: [ AppComponent, ], imports: [ BrowserModule, HttpClientModule, AppRoutingModule, UiMo
Search results for
Request failed with http status code 503
190,559 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello dev community, We call the public/users/discover endpoint from our server as a mechanism to share state. We've been using it for years without any issues. Starting on May 25, 2021 we started receiving 503s from the /database/1//production/public/users/discover endpoint for a high-percentage of our calls. Sample Response Status Code: 503 Response Body: { uuid : e8df63ea-14f5-4e5c-9444-68cc3213cda8, retryAfter : 173, serverErrorCode : THROTTLED } I've read that there is a request limit of 40 requests/second, but we're nowhere near that volume. I'd estimate we're closer to 0.3 requests/second. Yet, 90+% of our calls return that response with a 503 status code. Documentation indicates that a throttled call should respond with a 429 status code, so the 503 is confusing me. Plus the retryAfter response parameter never changes. It's always 173, so I can't even write smart retry logic to wait for
I have this code that's supposed to get CloudKit to request permission from the user of my app to allow his/her user identifiable information to be known to my app, but I get an error. @IBAction func actionGo(_ sender: UIBarButtonItem) { CKContainer.default().requestApplicationPermission(.userDiscoverability) { (status, error) in print(error=, error) }The error says:error= Optional(<CKError 0x60400025b480: Service Unavailable (6/2022); Request failed with http status code 503; Retry after 30.0 seconds>)What does that error mean and how do I figure out what the problem is? Is it merely a matter of enabling certain setting in CloudKit?
I'm getting the same issue. I tried with Admin and Developer permissions. GET works, PATCH doesn't. Status Code: 403 { errors: [ { status: 403, detail: The API key in use does not allow this request, code: FORBIDDEN_ERROR, id: , title: This request is forbidden for security reasons } ] } Failed to update profile Status Code: 403 { errors : [ { id : , status : 403, code : FORBIDDEN_ERROR, title : This request is forbidden for security reasons, detail : The API key in use does not allow this request } ] }
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect API
Tags:
Hi All, Trying to validate some altool credentials, produces this error message. Failed to get authorization for username '<username/>' and password with errors:( Error Domain=NSCocoaErrorDomain Code=0 Status code: 0 UserInfo={NSLocalizedDescription=Status code:0, NSLocalizedFailureReason=The auth server returned a bad status code.}) This is returned when altool is called in the following way. xcrun altool --notarization-history 0 -u <username/> -p <password/> --output-format xml macOS 11.2.3 and Xcode 12.5 Things that have been tried already. Making sure the Apple system status page shows no issues. Different networks. Checked to see if any agreements need to be activated. Recreated the app-specific password multiple times. Any other suggestions? @Quinn - Hi Quinn, it's Sam Rowlands (again) and this is with another App Wrapper customer experiencing this issue (so not me directly).
Are we all seeing Credentialed provider request failed with error: Unexpected Status Code ?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
When calling this URL from our server, some requests are failing with 503:https://buy.itunes.apple.com/verifyReceipt> 503 Service Unavailable> The server cannot handle the request (because it is overloaded or down for maintenance). Generally, this is a temporary state.This is only happening to a small sample of our users, so my guess is that only some servers on Apple side are impacted...?
uses libcurl to do HTTP/HTTPS In that case ATS is a red herring. ATS only applies to connections using URLSession or stuff layered on top of it and, AFAIK, libcurl uses BSD Sockets directly. I tried adding NSAppTransportSecurity -> NSAllowsArbitraryLoads -> true, but it's crashing because of it. Well, ATS changes can’t cause your program to crash. The most they can do is cause network requests to fail (or succeed). If your program is crashing when you make an ATS change, that’s a bug you need to investigate because network requests can fail (or succeed) for a variety of other reasons. we want to do http rest call in test environment, but it's not responding. status code is 0. An HTTP status code? Is that coming back from your server? Or being synthesised by libcurl? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic:
App & System Services
SubTopic:
Networking
Tags:
I've been getting errors from the salesReports endpoint (https://api.appstoreconnect.apple.com/v1/salesReports) in appstoreconnect for the last few hours. It was working intermittently for a bit but now I keep getting the following error: errors : [ { id : fb276203-0995-4a6c-a567-d17e7358dd7c, status : 503, code : SERVICE_UNAVAILABLE_ERROR, title : This request can not be processed right now, detail : Reporter is currently unavailable. } ] I've also tried directly using the Reporter CLI tool and am receiving the following error: 111 Network is available but cannot connect to application. Check your proxy and firewall settings and try again.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect API
Tags:
Analytics & Reporting
Hi,everyone , Recently I update my iphone 12pro max system to iOS14.6 system , One of the HTTPS request connect to our server works fine on iOS14.5.1 and eariler iOS versions, but it fails only on iOS14.6,the error message shows like below : Error Domain=NSURLErrorDomain Code=-1202 此服务器的证书无效。您可能正在连接到一个伪装成“a.b.c.com”的服务器,这会威胁到您的机密信息的安全。 UserInfo={NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x28103fd50>, NSErrorFailingURLKey=https://a.b.c.com/path/to/specific/work/get, NSErrorFailingURLStringKey=https://a.b.c.com/path/to/specific/work/get, NSLocalizedDescription=此服务器的证书无效。您可能正在连接到一个伪装成“a.b.c.com”的服务器,这会威胁到您的机密信息的安全。} but we had double check the certicicate of the service, pretty sure it's ok, and the certificate was approved by go_daddy, but it only happens on iOS14.6, and now all of our user update to iOS14.6 encountered this problem, anyone can help, thanks a million.
Hi, I'm working on an app that heavily relies in cloudkit. I regularly check on the status of my records through CloudKit Dashboard, but today I stumbled into this:While being logged in to my developer account (as we can tell by the fact that Dasboard can display my name in the upper right corner), it thinks I an not logged in, only allowing me into my public database. Also, when I try to fetch data from iCloud, my app logs the following error:<CKError 0x115b34340: Service Unavailable (6/2022); Request failed with http status code 503; Retry after 600.0 seconds>Has anyone experienced this before, and/or would anyone know a solution for this?
Same problem report on Stack Overflow https://stackoverflow.com/questions/77133646/ios-17-0-simulator-21a328-failed-with-http-status-400-bad-request
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
I sitll get satus code 400 after adding that code line at line no 12...HTTP status 400 is Bad Request. This status is coming from the server. Have you look at the body of the failure response? Sometimes the server will have a short description of the badness here. If that’s not helpful, your options are:Look on the server to see why it failed the request.If you have a known working client, you can compare the request sent by it to the request sent by your client to see what’s different.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic:
App & System Services
SubTopic:
Networking
Tags:
i'm getting request same 503
Topic:
Accessibility & Inclusion
SubTopic:
General
Tags:
Running watchOS 9.0.1 and Xcode 14.0.1. Also running iOS 16.0.2. Trying to run my code on the new Apple Watch Ultra and this is what I get (see below). Rebooted everything. Still no go. Failed with HTTP status 403: forbidden