Forum Discussion

swappyMaine's avatar
31 days ago

consume_entitlement issue with purchases

POST https://graph.oculus.com/$APP_ID/consume_entitlement

our server suddenly gets error response for this call.

nothing changed on our side in a long time in this regard.

did someone notice any change?
did something change on meta side ?

no issue with  https://graph.oculus.com/$APP_ID/viewer_purchases

1 Reply

    1. Attempt 1: Tries to consume the item and gets a 500 "transient" error from Meta's server.
    1. Attempt 2: Tries to consume the same item again. This time it gets a 400 "Invalid parameter" error with the message 'You need to purchase this item to continue.'.

    This confirms that the first "failed" attempt actually succeeded in consuming the item on Meta's servers, but the API incorrectly reported a 500 error. When we retry, the API correctly tells us the item is already gone.