Have your say in Community Polls: What was/is your greatest motivation to start your own business?

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

Solved

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

Natasha023
Shopify Partner
7 1 1

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.

 

Screenshot 2024-03-21 at 5.17.41 pm.png

 

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
      }
   }
  }
}

 

 

 

 

 

 

 

 

 

Accepted Solution (1)
Natasha023
Shopify Partner
7 1 1

This is an accepted solution.

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

View solution in original post

Replies 2 (2)

product_options
Excursionist
23 5 4

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.

 

 

product_options_0-1711039848658.png

 

 

 

Product Options Add unlimited product options using an easy-to-use drag-and-drop form builder
Natasha023
Shopify Partner
7 1 1

This is an accepted solution.

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