spark-solutions / spree2vuestorefront

Build complete E-Commerce PWA with this Spree Commerce (https://github.com/spree/spree) to Vue Storefront (https://github.com/DivanteLtd/vue-storefront) bridge
50 stars 9 forks source link

Mapper Parsing Exceptions trying to sync to ES #70

Closed pmaojo closed 5 years ago

pmaojo commented 5 years ago
./docker-bin/spree2vs.sh yarn import:all
spark-solutions_spree2vs is up-to-date
yarn run v1.13.0
$ yarn run import:products && yarn run import:categories
$ ./dist/index.js products
{
  "message": "Importing products and removing unused",
  "level": "info",
  "timestamp": "2019-06-11T21:42:00.979Z"
}
{
  "message": "No date provided. Updating all products and setting cursor to 1560289320985.",
  "level": "info",
  "timestamp": "2019-06-11T21:42:00.985Z"
}
{
  "message": "Downloaded page 1 containing 11 resources, processing",
  "level": "info",
  "timestamp": "2019-06-11T21:42:02.026Z"
}
{
  "message": "Pagination finished, total resources <= 100",
  "level": "info",
  "timestamp": "2019-06-11T21:42:02.030Z"
}
{
  "message": "Categories fetched. Importing products.",
  "level": "info",
  "timestamp": "2019-06-11T21:42:02.031Z"
}
{
  "message": "Downloaded page 1 containing 16 resources, processing",
  "level": "info",
  "timestamp": "2019-06-11T21:42:05.962Z"
}
{
  "message": "Pagination finished, total resources <= 100",
  "level": "info",
  "timestamp": "2019-06-11T21:42:05.968Z"
}
{
  "message": "Products' cursor updates requested: 0. Products' content updates requested: 16.",
  "level": "info",
  "timestamp": "2019-06-11T21:42:05.968Z"
}
{
  "message": [
    "Some or all ES operations failed.",
    [
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "3",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:03.626Z\" is malformed at \"T10:34:03.626Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "1",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_1\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "2",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_2\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "3",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_3\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "4",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_4\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "5",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_5\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "6",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_6\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "7",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_7\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "8",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_8\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "1",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:03.169Z\" is malformed at \"T10:34:03.169Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "25",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_25\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "26",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_26\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "27",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_27\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "2",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:03.489Z\" is malformed at \"T10:34:03.489Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "28",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_28\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "29",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_29\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "30",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_30\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "4",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:03.753Z\" is malformed at \"T10:34:03.753Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "9",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_9\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "10",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_10\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "11",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_11\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "12",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_12\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "13",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_13\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "14",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_14\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "15",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_15\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "16",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_16\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "13",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:05.069Z\" is malformed at \"T10:34:05.069Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "31",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_31\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "32",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_32\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "5",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:03.893Z\" is malformed at \"T10:34:03.893Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "17",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_17\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "18",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_18\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "19",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_19\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "20",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_20\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "21",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_21\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "22",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_22\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "23",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_23\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "24",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_24\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "8",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:04.281Z\" is malformed at \"T10:34:04.281Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "43",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_43\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "44",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_44\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "45",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_45\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "46",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_46\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "47",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_47\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "48",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_48\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "49",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_49\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "50",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_50\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "14",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:05.192Z\" is malformed at \"T10:34:05.192Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "33",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_33\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "34",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_34\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "7",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:04.159Z\" is malformed at \"T10:34:04.159Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "6",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:04.030Z\" is malformed at \"T10:34:04.030Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "15",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:05.317Z\" is malformed at \"T10:34:05.317Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "35",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_35\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "36",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_36\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "9",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:04.428Z\" is malformed at \"T10:34:04.428Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "51",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_51\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "52",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_52\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "53",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_53\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "54",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_54\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "55",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_55\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "56",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_56\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "57",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_57\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "58",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_58\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "16",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:05.465Z\" is malformed at \"T10:34:05.465Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "37",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_37\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "38",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_38\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "10",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:04.615Z\" is malformed at \"T10:34:04.615Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "59",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_59\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "60",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_60\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "61",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_61\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "62",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_62\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "63",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_63\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "64",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_64\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "65",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_65\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "66",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_66\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "11",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:04.781Z\" is malformed at \"T10:34:04.781Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "39",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_39\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "40",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_40\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "product",
          "_id": "12",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [created_at]",
            "caused_by": {
              "type": "illegal_argument_exception",
              "reason": "Invalid format: \"2019-06-11T10:34:04.929Z\" is malformed at \"T10:34:04.929Z\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "41",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_41\""
            }
          }
        }
      },
      {
        "index": {
          "_index": "vue_storefront_catalog",
          "_type": "attribute",
          "_id": "42",
          "status": 400,
          "error": {
            "type": "mapper_parsing_exception",
            "reason": "failed to parse [attribute_id]",
            "caused_by": {
              "type": "number_format_exception",
              "reason": "For input string: \"prodattr_42\""
            }
          }
        }
      }
    ]
  ],
  "level": "error",
  "timestamp": "2019-06-11T21:42:12.611Z"
}
tniezg commented 5 years ago

Which version of Spree do you use, @pmaojo? Also, are you using default settings in Spree?

pmaojo commented 5 years ago

Hi @tniezg 3.7.stable. I clicked on Deploy to Heroku button on Spree github and made no changes to spree code o settings yet.

pmaojo commented 5 years ago

Suddenly it imported without error... I don't know why, I didn't make any change. I will continue, need to test now if products are indeed on the storefront API db and retrieved by frontend

pmaojo commented 5 years ago

Maybe related to docker versions, I set 3.5 everywhere

tniezg commented 5 years ago

It looks like a Spree issue or issue with the database connected to Spree. Can't tell for sure. @pmaojo, please let us know it everything's fine after testing. If not, we'll look into it some more.

pmaojo commented 5 years ago

@tniezg It came back again. I will keep trying and let you know any issue

pmaojo commented 5 years ago

{"data":[{"id":"3","type":"product","attributes":{"name":"Ruby on Rails Baseball Jersey","description":"Aut pariatur autem consequatur delectus consequuntur aut. Esse quas repellat possimus magni. Consequatur iure illum quibusdam rerum cumque aut est hic. Iure et modi aut ut omnis. Sed et delectus et placeat quos illum magni consequatur.","price":"19.99","currency":"USD","display_price":"$19.99","available_on":"2019-06-11T10:34:03.626Z","slug":"ruby-on-rails-baseball-jersey","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.043Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[{"id":"17","type":"variant"},{"id":"18","type":"variant"},{"id":"19","type":"variant"},{"id":"20","type":"variant"},{"id":"21","type":"variant"},{"id":"22","type":"variant"},{"id":"23","type":"variant"},{"id":"24","type":"variant"},{"id":"25","type":"variant"},{"id":"26","type":"variant"}]},"option_types":{"data":[{"id":"1","type":"option_type"},{"id":"2","type":"option_type"}]},"product_properties":{"data":[{"id":"1","type":"product_property"},{"id":"2","type":"product_property"},{"id":"3","type":"product_property"},{"id":"4","type":"product_property"},{"id":"5","type":"product_property"},{"id":"6","type":"product_property"},{"id":"7","type":"product_property"},{"id":"8","type":"product_property"}]},"taxons":{"data":[{"id":"7","type":"taxon"},{"id":"11","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"17","type":"variant"}}}},{"id":"1","type":"product","attributes":{"name":"Ruby on Rails Tote","description":"Maxime rerum incidunt ipsam cum laboriosam. Dolore ipsam ipsum eos eius quasi libero. Culpa consequatur voluptatum nemo eius accusamus asperiores. Deserunt hic veritatis incidunt non id vel accusamus fugiat. Et aut omnis recusandae esse autem quam labore.","price":"15.99","currency":"USD","display_price":"$15.99","available_on":"2019-06-11T10:34:03.169Z","slug":"ruby-on-rails-tote","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.104Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[{"id":"25","type":"product_property"},{"id":"26","type":"product_property"},{"id":"27","type":"product_property"}]},"taxons":{"data":[{"id":"3","type":"taxon"},{"id":"11","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"1","type":"variant"}}}},{"id":"2","type":"product","attributes":{"name":"Ruby on Rails Bag","description":"Iusto eos saepe est beatae aut et. Autem ad fuga eos voluptatum. Dignissimos consequatur dolorum aspernatur adipisci quam.","price":"22.99","currency":"USD","display_price":"$22.99","available_on":"2019-06-11T10:34:03.489Z","slug":"ruby-on-rails-bag","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.185Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[{"id":"28","type":"product_property"},{"id":"29","type":"product_property"},{"id":"30","type":"product_property"}]},"taxons":{"data":[{"id":"3","type":"taxon"},{"id":"11","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"2","type":"variant"}}}},{"id":"4","type":"product","attributes":{"name":"Ruby on Rails Jr. Spaghetti","description":"Laboriosam enim debitis quis ipsam optio. Sed ab voluptatem nisi eum enim. Asperiores nulla quisquam veniam et recusandae corporis dicta non. Culpa ut consequatur voluptatibus exercitationem consectetur sint eligendi labore. Repellat nam cum velit deserunt tempore assumenda omnis.","price":"19.99","currency":"USD","display_price":"$19.99","available_on":"2019-06-11T10:34:03.753Z","slug":"ruby-on-rails-jr-spaghetti","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.264Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[{"id":"9","type":"product_property"},{"id":"10","type":"product_property"},{"id":"11","type":"product_property"},{"id":"12","type":"product_property"},{"id":"13","type":"product_property"},{"id":"14","type":"product_property"},{"id":"15","type":"product_property"},{"id":"16","type":"product_property"}]},"taxons":{"data":[{"id":"6","type":"taxon"},{"id":"11","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"4","type":"variant"}}}},{"id":"13","type":"product","attributes":{"name":"Ruby on Rails Mug","description":"Doloremque sit aut aut ipsa ut dolorum nulla necessitatibus. Repellat qui accusantium aut eveniet consequuntur asperiores quod et. Nihil est id ex ad aliquam. Ipsam hic sunt et incidunt ipsa nobis. Maiores et officia excepturi recusandae adipisci beatae in.","price":"13.99","currency":"USD","display_price":"$13.99","available_on":"2019-06-11T10:34:05.069Z","slug":"ruby-on-rails-mug","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.317Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[{"id":"31","type":"product_property"},{"id":"32","type":"product_property"}]},"taxons":{"data":[{"id":"4","type":"taxon"},{"id":"11","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"13","type":"variant"}}}},{"id":"5","type":"product","attributes":{"name":"Ruby on Rails Ringer T-Shirt","description":"Excepturi enim commodi ut reprehenderit deserunt. Deserunt et rerum molestiae rerum sit culpa aut vero. Nihil qui quidem aut numquam rerum nulla.","price":"19.99","currency":"USD","display_price":"$19.99","available_on":"2019-06-11T10:34:03.893Z","slug":"ruby-on-rails-ringer-t-shirt","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.367Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[{"id":"17","type":"product_property"},{"id":"18","type":"product_property"},{"id":"19","type":"product_property"},{"id":"20","type":"product_property"},{"id":"21","type":"product_property"},{"id":"22","type":"product_property"},{"id":"23","type":"product_property"},{"id":"24","type":"product_property"}]},"taxons":{"data":[{"id":"7","type":"taxon"},{"id":"11","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"5","type":"variant"}}}},{"id":"8","type":"product","attributes":{"name":"Spree Baseball Jersey","description":"Laborum non laboriosam iure itaque aut. Incidunt sed at velit qui officiis aut. At qui doloribus voluptatum ut et. Velit praesentium sequi quod vitae amet earum quibusdam. Sint molestiae repudiandae tempora minima sunt.","price":"19.99","currency":"USD","display_price":"$19.99","available_on":"2019-06-11T10:34:04.281Z","slug":"spree-baseball-jersey","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.585Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[{"id":"1","type":"option_type"},{"id":"2","type":"option_type"}]},"product_properties":{"data":[{"id":"43","type":"product_property"},{"id":"44","type":"product_property"},{"id":"45","type":"product_property"},{"id":"46","type":"product_property"},{"id":"47","type":"product_property"},{"id":"48","type":"product_property"},{"id":"49","type":"product_property"},{"id":"50","type":"product_property"}]},"taxons":{"data":[{"id":"7","type":"taxon"},{"id":"10","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"8","type":"variant"}}}},{"id":"14","type":"product","attributes":{"name":"Ruby on Rails Stein","description":"Reiciendis ea delectus dolorem iste ut. Perferendis mollitia temporibus inventore maiores. Exercitationem explicabo commodi iure qui inventore ipsa. Sunt dolorum quod et fugit consequatur eligendi. Commodi cum rerum libero quasi et minus rerum ullam.","price":"16.99","currency":"USD","display_price":"$16.99","available_on":"2019-06-11T10:34:05.192Z","slug":"ruby-on-rails-stein","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.421Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[{"id":"33","type":"product_property"},{"id":"34","type":"product_property"}]},"taxons":{"data":[{"id":"4","type":"taxon"},{"id":"11","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"14","type":"variant"}}}},{"id":"7","type":"product","attributes":{"name":"Apache Baseball Jersey","description":"Excepturi consequatur impedit et voluptate. Maiores repudiandae voluptas adipisci esse accusantium. Et quo officiis qui sed quia.","price":"19.99","currency":"USD","display_price":"$19.99","available_on":"2019-06-11T10:34:04.159Z","slug":"apache-baseball-jersey","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.479Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[]},"taxons":{"data":[{"id":"7","type":"taxon"},{"id":"9","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"7","type":"variant"}}}},{"id":"6","type":"product","attributes":{"name":"Ruby Baseball Jersey","description":"Doloribus eius ut et rerum non assumenda et. Dicta ea odio aut laborum enim. Qui qui nihil deleniti culpa fuga ducimus soluta. Omnis doloribus aut quia harum.","price":"19.99","currency":"USD","display_price":"$19.99","available_on":"2019-06-11T10:34:04.030Z","slug":"ruby-baseball-jersey","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.538Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[]},"taxons":{"data":[{"id":"7","type":"taxon"},{"id":"8","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"6","type":"variant"}}}},{"id":"15","type":"product","attributes":{"name":"Spree Stein","description":"Ad et consequatur neque sit tenetur. Exercitationem enim eos dignissimos esse. Quia aut aut qui quibusdam est mollitia.","price":"16.99","currency":"USD","display_price":"$16.99","available_on":"2019-06-11T10:34:05.317Z","slug":"spree-stein","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.642Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[{"id":"35","type":"product_property"},{"id":"36","type":"product_property"}]},"taxons":{"data":[{"id":"4","type":"taxon"},{"id":"10","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"15","type":"variant"}}}},{"id":"9","type":"product","attributes":{"name":"Spree Jr. Spaghetti","description":"Voluptatibus sit eaque quia earum. Quas quam laborum est ut voluptate minima. Maxime illo ut amet illum hic dignissimos. Qui et et rem fugit vitae. Omnis et voluptatem at pariatur delectus officiis excepturi.","price":"19.99","currency":"USD","display_price":"$19.99","available_on":"2019-06-11T10:34:04.428Z","slug":"spree-jr-spaghetti","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.696Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[{"id":"51","type":"product_property"},{"id":"52","type":"product_property"},{"id":"53","type":"product_property"},{"id":"54","type":"product_property"},{"id":"55","type":"product_property"},{"id":"56","type":"product_property"},{"id":"57","type":"product_property"},{"id":"58","type":"product_property"}]},"taxons":{"data":[{"id":"6","type":"taxon"},{"id":"10","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"9","type":"variant"}}}},{"id":"16","type":"product","attributes":{"name":"Spree Mug","description":"Error nihil incidunt sunt esse. Qui magni consectetur praesentium nobis. Sunt aut quo beatae alias. Aliquid dignissimos voluptatem nesciunt velit quo culpa.","price":"13.99","currency":"USD","display_price":"$13.99","available_on":"2019-06-11T10:34:05.465Z","slug":"spree-mug","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.746Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[{"id":"37","type":"product_property"},{"id":"38","type":"product_property"}]},"taxons":{"data":[{"id":"4","type":"taxon"},{"id":"10","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"16","type":"variant"}}}},{"id":"10","type":"product","attributes":{"name":"Spree Ringer T-Shirt","description":"Dolor sunt occaecati et fuga aspernatur. Aut quos sequi id similique animi amet. Et deleniti nostrum recusandae repellat. Aliquam nobis qui molestiae est explicabo autem. Aperiam illum eveniet iure et et in qui qui.","price":"19.99","currency":"USD","display_price":"$19.99","available_on":"2019-06-11T10:34:04.615Z","slug":"spree-ringer-t-shirt","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.800Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[{"id":"59","type":"product_property"},{"id":"60","type":"product_property"},{"id":"61","type":"product_property"},{"id":"62","type":"product_property"},{"id":"63","type":"product_property"},{"id":"64","type":"product_property"},{"id":"65","type":"product_property"},{"id":"66","type":"product_property"}]},"taxons":{"data":[{"id":"7","type":"taxon"},{"id":"10","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"10","type":"variant"}}}},{"id":"11","type":"product","attributes":{"name":"Spree Tote","description":"Sed voluptas et quibusdam harum qui et molestiae illo. Explicabo numquam accusantium provident cum doloribus sunt. Fugit perferendis qui ut voluptatem. Ut quia aut vel consequatur ipsam harum totam. Sit rerum illum libero quia officia reprehenderit.","price":"15.99","currency":"USD","display_price":"$15.99","available_on":"2019-06-11T10:34:04.781Z","slug":"spree-tote","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.848Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[{"id":"39","type":"product_property"},{"id":"40","type":"product_property"}]},"taxons":{"data":[{"id":"3","type":"taxon"},{"id":"10","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"11","type":"variant"}}}},{"id":"12","type":"product","attributes":{"name":"Spree Bag","description":"Voluptates rerum quos labore ea sit rerum. Delectus quae voluptatibus ut corrupti quo aut praesentium aut. Laboriosam accusamus possimus consequatur ipsum velit et nesciunt sequi.","price":"22.99","currency":"USD","display_price":"$22.99","available_on":"2019-06-11T10:34:04.929Z","slug":"spree-bag","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.912Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[{"id":"41","type":"product_property"},{"id":"42","type":"product_property"}]},"taxons":{"data":[{"id":"3","type":"taxon"},{"id":"10","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"12","type":"variant"}}}}],"meta":{"count":16,"total_count":16,"total_pages":1},"links":{"self":"https://urltospree/api/v2/storefront/products","next":"https://urltospree/api/v2/storefront/products?page=1","prev":"https://urltospree/api/v2/storefront/products?page=1","last":"https://urltospree/api/v2/storefront/products?page=1","first":"https://urltospree/api/v2/storefront/products?page=1"}}

This is the data provided by Spree at /api/v2/storefront/products @tniezg

pmaojo commented 5 years ago

A single product:

{"data":{"id":"1","type":"product","attributes":{"name":"Ruby on Rails Tote","description":"Maxime rerum incidunt ipsam cum laboriosam. Dolore ipsam ipsum eos eius quasi libero. Culpa consequatur voluptatum nemo eius accusamus asperiores. Deserunt hic veritatis incidunt non id vel accusamus fugiat. Et aut omnis recusandae esse autem quam labore.","price":"15.99","currency":"USD","display_price":"$15.99","available_on":"2019-06-11T10:34:03.169Z","slug":"ruby-on-rails-tote","meta_description":null,"meta_keywords":null,"updated_at":"2019-06-11T10:34:14.104Z","purchasable":true,"in_stock":true,"backorderable":true},"relationships":{"variants":{"data":[]},"option_types":{"data":[]},"product_properties":{"data":[{"id":"25","type":"product_property"},{"id":"26","type":"product_property"},{"id":"27","type":"product_property"}]},"taxons":{"data":[{"id":"3","type":"taxon"},{"id":"11","type":"taxon"}]},"images":{"data":[]},"default_variant":{"data":{"id":"1","type":"variant"}}}}}

pmaojo commented 5 years ago

I am getting everything ok now