question

jimmymi avatar image
jimmymi asked

"Item not found". Unable to use PurchaseItem()

I have made a catalog, store, and added some items, and also created a bundle.

Now, when I am trying to purchase the bundle by using the following code, it gives an error - Item not Found


TitleId is no problem


10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Made Wang avatar image
Made Wang answered

Is the purchased item in the primary catalog? If not, set CatalogVersion to the catalog where the item is located.

Are all items unavailable for purchase, or is this the only one?

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Seth Du avatar image Seth Du ♦ commented ·

@jimmymi Please also try to reproduce this issue via Postman and test if this only occurs in your script. "Item not found" usually caused by improper request and it is worth trying to check if the primary catalog is set correctly.

Since this issue has been idled for a few days, I will mark it as closed temporarily. Feel free to send a new thread if you still have this issue. Thanks for your understanding.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.