AWSMarketplace unknown error with change-set

0

I have following errors while submitting my change set to the AWSMArketplace.

                {
                    "ErrorCode": "INVALID_GRANTS",
                    "ErrorMessage": "MaxQuantity for the FreeTrialPricingTerm is limited for the product. Provide a MaxQuantity less than or equal to 1. For more information, contact the AWS Marketplace Managed Catalog Operations Team."
                {
                    "ErrorCode": "INVALID_DURATION",
                    "ErrorMessage": "Ensure Duration in FreeTrialPricingTerm is within the allowed range."
                },
                {
                    "ErrorCode": "INVALID_GRANTS",
                    "ErrorMessage": "MaxQuantity for the FreeTrialPricingTerm is limited for the product. Provide a MaxQuantity less than or equal
 to 1. For more information, contact the AWS Marketplace Managed Catalog Operations Team."
                },
                {
                    "ErrorCode": "INCOMPATIBLE_PRODUCT",
                    "ErrorMessage": "Use existing, available dimensions in the product in FreeTrialPricingTerm."
                }

This happens with the

   {
      "ChangeType":"UpdatePricingTerms",
      "Entity":{
         "Type":"Offer@1.0",
         "Identifier":"$CreateOfferChange.Entity.Identifier"
      },
      "DetailsDocument":{
         "PricingModel":"Free",
         "Terms":[
            {
               "Type": "FreeTrialPricingTerm",
               "Duration": "P0D",
               "Grants": [
                 {
                   "DimensionKey": "CUSTOM1"
                 }
               ]
             }
         ]
      }
   },

Please help me out with the right values for my product. You documentation is full of flaws and wrong values. As sample, for FreeTrialPricingTerm a Duration with 0 days is suggested. P0D is definitly 0. I request a VALID UpdatePricingTerm for a Free product.

asked 13 days ago11 views
1 Answer
0

I apologize for the confusion you're experiencing with the AWS Marketplace change set submission. Let me clarify the issues and provide guidance on how to correctly set up the UpdatePricingTerms for a Free product.

  1. FreeTrialPricingTerm Duration: The error message indicates that the Duration in FreeTrialPricingTerm is not within the allowed range. A duration of "P0D" (0 days) is indeed not valid for a free trial. You need to specify a valid duration greater than 0. For example, you could use "P30D" for a 30-day free trial.

  2. MaxQuantity for FreeTrialPricingTerm: The error message states that the MaxQuantity for FreeTrialPricingTerm should be less than or equal to 1. Make sure you're not specifying a MaxQuantity greater than 1 in your change set.

  3. Dimensions: The error suggests that you should use existing, available dimensions in the product for FreeTrialPricingTerm. Ensure that the dimension "CUSTOM1" is actually defined and available for your product.

Here's a corrected example of the UpdatePricingTerms change set for a Free product with a 30-day free trial:

{
  "ChangeType": "UpdatePricingTerms",
  "Entity": {
    "Type": "Offer@1.0",
    "Identifier": "$CreateOfferChange.Entity.Identifier"
  },
  "DetailsDocument": {
    "PricingModel": "Free",
    "Terms": [
      {
        "Type": "FreeTrialPricingTerm",
        "Duration": "P30D",
        "Grants": [
          {
            "DimensionKey": "CUSTOM1",
            "MaxQuantity": 1
          }
        ]
      }
    ]
  }
}

Key points to note:

  1. Set a valid Duration (e.g., "P30D" for 30 days).
  2. Include MaxQuantity and set it to 1 in the Grants section.
  3. Ensure the DimensionKey used ("CUSTOM1" in this example) is actually defined for your product.

If you continue to experience issues, I recommend contacting AWS Marketplace Managed Catalog Operations Team for further assistance, as they can provide specific guidance tailored to your product configuration.
Sources
DescribeChangeSet - AWS Marketplace
DescribeChangeSet - AWS Marketplace Catalog API
ChangeSetSummaryListItem - AWS Marketplace
ChangeSetSummaryListItem - AWS Marketplace Catalog API

profile picture
answered 13 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions