当我调用beginInstall API时如何解决errorCode 1000(500)?

时间:2019-03-28 20:23:11

标签: airwatch

当我点击Airwatch的beginInstall API时,我得到的错误代码为1000(相当于500)。我将.ipa文件作为块上传,它们都成功上传。我对我们的android .apk文件执行此过程,并且它可以工作。

由于blob最初不适用于两个提交中的任何一个,因此我已从blob切换为大块。

我们的IOS请求正文:

{

    "ApplicationName" :"<NAME>",
    "AutoUpdateVersion" : true,
    "TransactionId" : "<TransactionID>",
    "Description" :  "<Description",
    "DeviceType" : "2",
    "FileName" : "<App>.ipa",
    "LocationGroupId" : 123,
    "PushMode" : "On Demand",
    "SupportedModels" : {
        "Model" : [
           {
           "ApplicationId":1234, 
           "ModelId": 1, 
           "ModelName": "iPhone"
           }, 
           { 
           "ApplicationId":1234, 
           "ModelId": 2, 
           "ModelName": "iPad"
           }, 
           {
           "ApplicationId":1234, 
           "ModelId": 3, 
           "ModelName": "iPod Touch"}
        ]
    }
}

我们的Android请求正文:

{

    "ApplicationName" :"<NAME>",
    "AutoUpdateVersion" : true,
    "TransactionId" : "<TransactionID>",
    "Description" :  "<Description> ",              
    "DeviceType" : "5",                                            
    "FileName" : "<App>.apk",            
    "LocationGroupId" : 123,  
    "PushMode" : "On Demand",                         
    "SupportedModels" : {                                          
        "Model" : [                                                
           {                                                       
                "ApplicationId":1234,          
                "ModelId" : 5,
                "ModelName" : "Android"
            }
        ]
    }
}

在android提交中,一切正常,我得到了200亿的预期回报。在ios上,我得到500。谢谢。

0 个答案:

没有答案