Issues with the /packages/v2 API when uploading APKs

EC
Enric Correa Yusa
mercadona001

Hi all,

We are trying to upload an APK to a SOTI MobiControl package, but we are unable to do so.

We are using the following script:

#######

#######

When we execute it, the request returns HTTP/2 200. However, when we check the package in MobiControl, the Files tab does not show the uploaded APK:

Do you have any idea why this might be happening?

Thanks in advance.

8 months ago
SOTI MobiControl
ANSWERS
RS
Robert Schäfer
8 months ago

Im only familiar with the /packages api, not v2. However the structure of what you pasted above looks okay.

It could be an issue with the structure as its incredibly finicky when it comes to spaces, however if its returning 200 have you checked whether the user you are using in your api request has the relevant package permissions? (usually expect a 403 but it depends)

A
AMMOD@SOTI
8 months ago

Hi @Enric Correa Yusa,

Thankyou for posting on soti pulse.

Were you able to resolve the issue?

If you are still facing the same problem, kindly create a support ticket so we can assist you further and investigate this in detail.

EC
Enric Correa Yusa
8 months ago

Hi @AMMOD@SOTI,

We are still experiencing the issue. We already have an open case; the case number is C01656861.

Regards.