503 Service Unavailable Error with Sandbox iTunes API

Hello,

I am currently integrating with the iTunes Sandbox environment, specifically with APIs like:

https://sandbox.itunes.apple.com/inApps/v1/subscriptions/12345

However, I consistently receive a 503 - Http/1.1 Service Unavailable error in response. Below is the typical response I get:

<html><body><b>Http/1.1 Service Unavailable</b></body></html>

I've tried sending requests from different IP addresses and servers, but all attempts result in the same 503 error. Could anyone provide guidance on whether this is a temporary issue with the sandbox environment or if there is something I need to adjust in my setup?

Any help would be greatly appreciated!

Thank you.

Please see the Sandbox URL for the App Store Server API here, which is not the URL you are using https://developer.apple.com/documentation/appstoreserverapi/get_all_subscription_statuses.

Also please consider using the App Store Server Library, which has clients in Python, Node.js, Java, and Swift for server which will handle things like this for you.

503 Service Unavailable Error with Sandbox iTunes API
 
 
Q