How can I resolve the Cart Transform InvalidOutputError while merging line items?

I am trying to merge cart line items and following the instruction here: https://shopify.dev/docs/api/functions/reference/cart-transform#example-merge-operation

But got the InvalidOutputError

First question is how can I look into the details of error. There is no way allow me to click into the error.

Here is the input

query RunInput {
  cart {
    lines {
      id
      quantity
      cost {
        amountPerQuantity {
          amount
          currencyCode
        }
      }
      # Cart line attribute to get the uuid
      uuid: attribute(key: "uuid") {
        value
      }
   }
  }
}

You can see the log if you are testing the app with same partners account as of the store.

You can see the screenshot, where the timestamp is clickable. Here I’m testing app with a store under same partner account.

I figured it out. It has to test on development store not plus store. On plus store, the timestamp is not clickable.

1 Like