cancel
Showing results for 
Search instead for 
Did you mean: 

IAP: 500 Internal Server Error (again)

farlenkov
Explorer
I get "500 Internal Server Error" when making any request to Platform SDK.

What I've done:
1) App is created in dashboard and App ID copied to game.
2) User Token also generated and copied to game.
3) IAPs successfully uploaded thru TSV-file.
4) Call to "Core.Initialize(app_id);" goes without any error.

After that any request to Platform SDK? for example IAP.GetProductsBySKU(), respond with "500 Internal Server Error".

Please give me any hint on what to do next to make it work.

7 REPLIES 7

Anonymous
Not applicable
Same here. Just the LaunchCheckoutFlow call seems to work well. Some feedback from Oculus would be good.

delphinius81
Rising Star
I just executed a GetProductsBySKU() successfully from the Unity editor. I was getting 400 OAuth errors previously because I didn't have a user token set through the Oculus Unity editor setting page.

haxiomic
Protege
Is anyone else not able to remove items from the IAP dashboard? (Been this way since day one for me, error is consistently "The arguments passed to fill in call variables are invalid.")

delphinius81
Rising Star
Haven't tried to remove anything, but I'm unable to make successful LaunchCheckoutFlow calls when running a development build on GearVR. The Oculus Home screen loads and I get a message about the purchase not being able to be made right now. Logcat shows the following error information that I'm printing:

Error code: 1 http: -1 msg: IAP not purchased

I can find no documentation on what this code means or why the IAP Purchase attempt would fail. Anyone have clues?

Anonymous
Not applicable
Are you logged in with a test-user?

farlenkov
Explorer

Yalfbal said:

Are you logged in with a test-user?


Do you mean test users that can be created at https://dashboard.oculus.com/organizations/.../testusers ?

I have creates couple of this test users but can't login with them in Oculus app. Can you please point me to documentation about this test users and how to use them to test IAPs?



Anonymous
Not applicable
I had the same problem. The problem is the password that you choose when a new test-user is created, it must meet the same requeriments of a normal user but Oculus let you write anything you want in that text field.

Check this documentation too: https://developer.oculus.com/doc/1.0.0-platform/_o_v_r___requests___i_a_p_8h.html