Skip to content

Update-InAppProductSubmission fails with size of Listings must be 1 or more error #225

@Viciousu

Description

@Viciousu

Environment:
ModuleVersion 1.21.0
PSVersion 5.1.22000.613
Windows 11 Home 21H2 22000.613

Performing Update-InAppProductSubmission -IapId -SubmissionDataPath ".\submission.json" -PackagePath ".\package.zip" -UpdatePricingAndAvailability -UpdateProperties -Force
without parameter UpdateListings returns response

The remote server returned an error: (400) Bad Request.
InvalidParameterValue : The size of Listings must be 1 or more
MS-CorrelationId: 22f9c02f-bc36-4b2b-9412-f3f95bc06b8d
At C:\Program Files\WindowsPowerShell\Modules\StoreBroker\1.21.0\StoreBroker\StoreIngestionApi.psm1:2116 char:17

used submission.json package:

{
    "iapId": "",
    "targetPublishMode": "Manual",
    "targetPublishDate": "1601-01-01T02:00:00.0000000+02:00",
    "visibility": "Public",
    "lifetime": "Forever",
    "contentType": "OnlineDownload",
    "keywords": [
        "keywrd"
    ],
    "pricing": {
        "priceId": "Tier1012",
        "marketSpecificPricings": {
            "LB": "NotAvailable",
            "BS": "Tier1015",
            "EH": "NotAvailable"
        }
    },
    "notesForCertification": "",
    "listings": {
        "en": {
            "title": "test eng title",
            "description": "test eng desc"
        }
    },
    "sbSchema": 2
}

Expected result: submission added without errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions