WDE0080: Validation failed

Question:

Product:
Wix Studio Editor

What are you trying to achieve:
I want to create an order using the code below, but always get a validation error, and I can’t figure out what is wrong with my object data.

{
    "message": "WDE0080: Validation failed",
    "details": {
        "validationError": {}
    }
}
import wixData from 'wix-data';

const item = {
  "collectionName": "Stores/Orders",
  "item": {
    "currency": "SGD",
    "lineItems": [
      {
        "quantity": 1,
        "catalogReference": {
          "catalogItemId": "1ab35087-3c0a-3448-51d2-69a6dc875fc4",
          "appId": "215238eb-22a5-4c36-9e7b-e7c08025e04e",
          "options": {
            "options": {
              "Size": "Petite"
            },
            "variantId": "b1b6655c-276a-4ec3-b364-09f17839f6a8"
          }
        },
        "productName": {
          "original": "Aero",
          "translated": "Aero"
        },
        "url": "my-url",
        "price": {
          "amount": "80.00",
          "convertedAmount": "80.00",
          "formattedAmount": "S$80.00",
          "formattedConvertedAmount": "S$80.00"
        },
        "fullPrice": {
          "amount": "80.00",
          "convertedAmount": "80.00",
          "formattedAmount": "S$80.00",
          "formattedConvertedAmount": "S$80.00"
        },
        "priceBeforeDiscounts": {
          "amount": "80.00",
          "convertedAmount": "80.00",
          "formattedAmount": "S$80.00",
          "formattedConvertedAmount": "S$80.00"
        },
        "descriptionLines": [
          {
            "name": {
              "original": "Size",
              "translated": "Size"
            },
            "plainText": {
              "original": "Petite",
              "translated": "Petite"
            },
            "lineType": "UNRECOGNISED"
          },
          {
            "name": {
              "original": "Special Requests",
              "translated": "Special Requests"
            },
            "plainText": {
              "original": "",
              "translated": ""
            },
            "lineType": "UNRECOGNISED"
          },
          {
            "name": {
              "original": "Gift Message",
              "translated": "Gift Message"
            },
            "plainText": {
              "original": "",
              "translated": ""
            },
            "lineType": "UNRECOGNISED"
          }
        ],
        "image": "image",
        "availability": {
          "status": "AVAILABLE"
        },
        "physicalProperties": {
          "sku": "",
          "shippable": true
        },
        "couponScopes": [
          {
            "namespace": "stores",
            "group": {
              "name": "collection",
              "entityId": "00000000-000000-000000-000000000001"
            }
          },
          {
            "namespace": "stores",
            "group": {
              "name": "product",
              "entityId": "1ab35087-3c0a-3448-51d2-69a6dc875fc4"
            }
          }
        ],
        "itemType": {
          "preset": "PHYSICAL"
        },
        "paymentOption": "FULL_PAYMENT_ONLINE",
        "customLineItem": false,
        "_id": "00000000-0000-0000-0000-000000000001"
      }
    ],
    "paymentStatus": "NOT_PAID",
    "status": "INITIALIZED",
    "taxIncludedInPrices": false,
    "weightUnit": "KG"
  },
  "options": {},
  "segment": "LIVE",
  "appId": "67d868c4-310c-4b77-adfc-5317d75de845"
}

await wixData.insert('Stores/Orders', item)

Similar to your ISSUE ?