Amazon MFN Order Import Error: "Please enter a value for amount."

Error encountered when certain items are cancelled from an order.
Error message: Failed to add Amazon Order# X-Y-Z. Failed to save record because Please enter a value for amount.

I tried the solution shown here, as well as the string below, neither worked:

{{#if $.OrderItem[*].ItemPrice.Amount}}
    $.OrderItem[*].ItemPrice.Amount
{{else}}
    0
{{/if}}

Can you try:

{{#if OrderItem[*].ItemPrice.Amount}}{{OrderItem[*].ItemPrice.Amount}}{{else}}0{{/if}}
1 Like

Success, thank you Tyler.

No problem! @stephenbrandt, can we get the doc for this updated, please? :folded_hands: