Upload VPKG to appstore: "failed to upload" error leads to dead link

Uploaded our build to the appstore. This took many tries, as we saw it hang during “validating” many times, infinite poll of some upload-status endpoint in browser network console.

Eventually, it went through, this time we got this error:

Which leads to this page: https://developer.amazon.com/docs/kepler-tv/app-submission.html

Which is a 404

Hi @mikey,

Thank you for bringing this to our attention and for providing the information about the upload issue.

Please refer to the correct Vega app submission documentation here:

Let me know if I can help with anything else.

Warm regards,
Aishwarya

Thanks, but we still don’t understand the error: “Invalid or missing build number in the VPKG”.

Here is the pertinent part of the manifest.toml which was used to build this:

schema-version = 1

[package]
...
version = "1.2.5"
...

In general, whatever the answer is, similar to the other issue we just reported errors like this need to be reported much earlier in the development process—at compile time and by the SDK, not at submission time & by the appstore.

Also, I don’t see the version field documented in the package docs. But this is what the sample apps use, and the string we set here is being returned by getVersion() from @amazon-devices/react-native-device-info.

New guess: we need to additionally pass the version as a flag to build-kepler as described here: Version Your App | Design and Develop Vega Apps

That’s cumbersome since this is something we already check in with (a) package.json and (b) manifest.toml (though that might be unsupported and misleading from the example apps). I’ll file a separate feature request.

Hi @mikey,

You’re correct - the version needs to be passed as a flag to build-kepler as documented here: https://developer.amazon.com/docs/vega/0.21/app-version.html

For example, to build your app with version 1.2.5, use:

build-kepler --version 1.2.5

This should resolve the upload error you’re experiencing.

Our team is looking into the request and will provide an update as soon as we have more information. Thanks for helping us improve the Vega platform.

Warm regards,
Aishwarya