Skip to main content
Inspiring
August 27, 2022
Solved

Upload failed - Build upload error

  • August 27, 2022
  • 12 replies
  • 13890 views

I'm unable to upload the first release build of my game in Oculus Developer Hub. There's a generic error with no further user feedback on why and what I can do about it.

 

These are the steps I followed:

1. Download most recent version of ODH (2.7.0)
2. Correctly set up the manifest (as explained on https://developer.oculus.com/resources/publish-mobile-manifest/)
3. Create build of my game in the game engine I use (Godot).
4. Upload build in ODH (or via the OVR platform utility, see my reply on TonyVT).

Best answer by Lucashijman6

I solved it. Shoutouts to Dan from Oculus Support for helping me out. You need to have this folder in your project with the Oculus OpenXR mobile SDK in it. In there you put the manifest that you get by following this guide: https://developer.oculus.com/resources/publish-mobile-manifest/. You leave the default AndroidManifest.xml file from the Android build template intact except the package name and version code and number (you need to increase the version code and number with every build you upload, but assuming the upload didn't work before this is your first version).

12 replies

Inspiring
September 7, 2022

Upon first trying in v2.7.1 the error changed. It's still not very helpful.

The log file it refers to is too big to show. I think this is the most relevant part:

2022-09-07T14:23:34.077Z [DEBUG] Run args: {"appId":6082539628428979,"apkPath":"C:\\Users\\Lucas Hijman\\Documents\\Afstuderen\\Publicatie\\Oculus App Lab\\2.1.1.apk","channel":"store","draft":false,"excludeAddons":false,"inheritAssetFiles":false,"isODH":true,"notes":"First public iteration of InaniBrutus for VR.","token":"(removed)","uploadConcurrency":null,"platform":"ANDROID_6DOF"}
2022-09-07T14:23:34.327Z [DEBUG] Server log: {"app_id":6082539628428979,"log_level":"DEBUG","event_name":"COMMAND_PARAMS","stack_trace":"at Object._log (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat Object.debug (C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js)\nat C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js\nat processTicksAndRejections (node:internal/process/task_queues:96:5)\nat async C:\\snapshot\\D_Zfull-fbsource\\edenfs\\redirections\\arvr\\js\\temp\\build-ovr-platform-util\\lib\\ovr_platform_util.js","extra":"{\"appId\":[MY_APP_ID],\"apkPath\":\"C:\\\\Users\\\\Lucas Hijman\\\\Documents\\\\Afstuderen\\\\Publicatie\\\\Oculus App Lab\\\\2.1.1.apk\",\"channel\":\"store\",\"draft\":false,\"excludeAddons\":false,\"inheritAssetFiles\":false,\"isODH\":true,\"notes\":\"First public iteration of InaniBrutus for VR.\",\"token\":\"(removed)\",\"uploadConcurrency\":null,\"platform\":\"ANDROID_6DOF\",\"os\":\"{\\\"platform\\\":\\\"win32\\\",\\\"arch\\\":\\\"x64\\\",\\\"type\\\":\\\"Windows_NT\\\"}\",\"cli_version\":\"1.76.0.000001\",\"compatibility_version\":2,\"app_id\":6082539628428979,\"session_id\":\"6082539628428979_2022-09-07T14:23:34.327Z\"}"}
2022-09-07T14:23:34.455Z [DEBUG]
Validating build...
2022-09-07T14:23:35.373Z [DEBUG] A server error occurred. The request will be retried.
2022-09-07T14:23:35.374Z [ERROR] Server log: {"app_id":6082539628428979,"log_level":"ERROR","event_name":"API_ERROR","stack_trace":"at Object._log

New Participant
September 9, 2022

same here, i don't know if this is some sort of issue on meta's end, but oh my god is it annoying.

Inspiring
September 17, 2022

Thanks for the reply. The event name API_ERROR in the log makes me indeed think it's on Meta's end.

New Participant
September 22, 2022

Same here

Inspiring
September 24, 2022

Same here.I wonder what's happening

Inspiring
September 24, 2022

Actually I've done the upload with the command line utility and it worked! So I suggest you do the same:

 

Oculus Platform Utility Reference | Oculus Developers

Inspiring
September 24, 2022

I also attempted that, but to no avail. Same error.

New Participant
September 24, 2022

I have the exact same issue even after trying 2.7.2

Inspiring
November 7, 2022

Status update: the problem still occurs as of ODH version 3.0.1. A recent discovery makes me think it's on Godot's end (forget what I said earlier about the API). A Unity build in the same circumstances uploads perfectly fine.

Lucashijman6AuthorAnswer
Inspiring
November 23, 2022

I solved it. Shoutouts to Dan from Oculus Support for helping me out. You need to have this folder in your project with the Oculus OpenXR mobile SDK in it. In there you put the manifest that you get by following this guide: https://developer.oculus.com/resources/publish-mobile-manifest/. You leave the default AndroidManifest.xml file from the Android build template intact except the package name and version code and number (you need to increase the version code and number with every build you upload, but assuming the upload didn't work before this is your first version).

Inspiring
March 20, 2023

Steps to fix-

Step 1 Find Out If the HTTP Error is Temporary
Step 2 Rename Your Files
Step 3 Add Code to Modify WordPress Image Editors
Step 4 Deactivate Your Website Plugins
Step 5 Increase Your Server Memory

 

Regards,

Rachel Gomez