i use cart and checkout validation
and when i wrote
errors.push({
localizedMessage: input.cart.lines[i]?.merchandise?.preorder_starts_at?.value.toString(),
target: "cart",
});
it doesn’t return json error but returning html “something went wrong”
how to fix this ?
