question

rzaleski avatar image
rzaleski asked

PurchaseItem - ServiceUnavailable/BadRequest

I am calling PurchaseItem and am getting a generic ServiceUnavailable/BadRequest error. I tried passing in:

CatalogVersion (set to my catalog version), ItemId (set to a specific item id), VirtualCurrency (set to RM) and Price (set to 0)

I also tried creating a store and passing in the StoreId.

Does anyone know why this would fail? Is there any way to get a more detailed message?

apisPlayer Data
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

·
rzaleski avatar image
rzaleski answered

Apparently I was passing in an invalid currency. Although RM showed up in my catalog, it did not show up in my virtual currencies. When I added a new one (TT) everything worked.

10 |1200

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

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.