Trying to use VoltBuilder api

I’m trying to submit my zips using volt builder api. I’m on an powershell environment and when I run the command to upload the zip file I get an “Invoke-RestMethod : Not Acceptable”.
This result is that i miss any header or any data on the form is not correct.

Can you help me to find the correct way to send thi zip throught api.

$uri = ""
$filePath = "C:\temp\"

$headers = @{
    'authorization' = ('Bearer ' + $access_token)

$form = @{
    platform = 'android'
    app = @{
        value = [System.IO.File]::OpenRead($filePath)
        options = @{
            contentType = "application/zip"

$response = Invoke-RestMethod -Uri $uri -Method Post -Headers $headers -Body $form

Write-Host $response 

Based on the error you’re getting, I suspect you aren’t sending a multipart/form-data content type. Our documentation indicates that when you send something that’s not the proper content type, you will receive that error: VoltBuilder API

We don’t have any insight on how to do this using powershell, but searching for “powershell multipart form data” did have promising results: rest - powershell invoke-restmethod multipart/form-data - Stack Overflow - there are of course other results as well. If you find a solution we’d appreciate it if you’d post it here.