Unable to get product info from Apple Store

Here is the code, I tried two ways to make a test,

pids = [
    "me_xxxxxxxx_xxxxxxxx_sub_pro_yearly"
    , "me_xxxxxxxx_xxxxxxxx_sub_pro_lifetime"
]
L.d { "Requesting products from apple: \(pids)" }
let appProducts = try await Product.products(for: pids)

What's wrong with the code I copied from Apple Store Document?

The product info was configed on Apple Store Connect, and it's waiting to commit now. It proved that the configuration of product is fine.

I tired to use XCode storekit configuration to request product info, It also works fine.

So, I don't know why?

Here is detail of the log,

Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={NSUnderlyingError=0x280303c00 {Error Domain=AMSErrorDomain Code=1 

I logged Sandbox account in iPhone (Setting-Apple Store-Sandbox).

It used to work well and I even made a purchase. But with no reason, it doesn't work any more!

And yesterday, I was even unable to log in the Apple Store Connect suddenly with no reason. And I contacted you for support, not work. Few hours later, it worked as usual.

Post not yet marked as solved Up vote post of Boarteng Down vote post of Boarteng
481 views

Replies

I have spent two days on this problem! I don't understand.

  • In the morning, it works fine, now, it doesn't work again.

Add a Comment