question

tyler avatar image
tyler asked

StartPurchase returns 500 Internal Server Error when prices unspecified

I was experiencing '500 Internal Server Error' responses from the API when attempting to call StartPurchase and it took me a while to track down the issue. Turns out I had a few items in the catalog without any prices specified (and I didn't realize my code was trying to purchase those items). Just wanted to file a suggestion: if the error response could be more specific in this case that would be helpful. Thanks!

(Using latest Unity SDK, if that's useful info.)

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

·
brendan avatar image
brendan answered

Yes, a 500 error actually opens a bug on our side to let us know that there's a path without a specific error message, so we'll get that fixed as soon as we can. Thanks for calling this out!

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.