| request_json |
{'method': 'POST', 'path': '/log/product_upload', 'query_params': {}, 'body': {'product': {'rating': None, 'rating_count': None, 'brand': 'ToyHouse', 'name': 'LEGO® Star Wars™ R2-D2™ Set 75379', 'description': 'Invite the most beloved droid in the Star Wars™ universe into your home with this playful, buildable model. Rotate R2-D2’s head and attach his third leg when it’s time to move. You can also connect his iconic radar and tools. Showcase your creation with the R2-D2 information plaque, an R2-D2 LEGO® figure and a special LEGO Star Wars 25th anniversary minifigure of Darth Malak with a display stand.', 'data': {'dataFacets': []}, 'categories': ['LEGO'], 'gender': 'Kids', 'product_images': [], 'market_id': 108, 'remote_code': 'lego%C2%AE-star-wars%E2%84%A2-r2-d2%E2%84%A2-set-75379', 'is_lost': 0, 'variants': [{'remote_code': '51997709205720', 'upc': '', 'additional_upc': '', 'remote_url': 'https://www.toysrus.com/products/lego%C2%AE-star-wars%E2%84%A2-r2-d2%E2%84%A2-set-75379', 'size': 'N/A', 'origin_color': 'N/A', 'price': 99.99, 'variant_images': [], 'stock_count': 1, 'data': ['transfer'], 'image_url': 'https://www.toysrus.com/cdn/shopifycloud/storefront/assets/no-image-2048-a2addb12_1024x1024.gif', 'description': 'Color: N/A; Size: N/A', 'colors': ['N/A']}]}, 'remote_url': 'https://www.toysrus.com/products/lego%C2%AE-star-wars%E2%84%A2-r2-d2%E2%84%A2-set-75379', 'parsing_type': 'full', 'finalize': False, 'parsing_code': 200, 'parsing_text': "[200] Success: Item: 'lego%C2%AE-star-wars%E2%84%A2-r2-d2%E2%84%A2-set-75379' - parsed successfully. additional_error_text=''"}, 'errors': [{'type': 'value_error', 'loc': ['body', 'product', 'variants', 0], 'msg': "Value error, Field 'variant_images' must contain at least 1 items", 'input': {'remote_code': '51997709205720', 'upc': '', 'additional_upc': '', 'remote_url': 'https://www.toysrus.com/products/lego%C2%AE-star-wars%E2%84%A2-r2-d2%E2%84%A2-set-75379', 'size': 'N/A', 'origin_color': 'N/A', 'price': 99.99, 'variant_images': [], 'stock_count': 1, 'data': ['transfer'], 'image_url': 'https://www.toysrus.com/cdn/shopifycloud/storefront/assets/no-image-2048-a2addb12_1024x1024.gif', 'description': 'Color: N/A; Size: N/A', 'colors': ['N/A']}, 'ctx': {'error': {}}, 'url': 'https://errors.pydantic.dev/2.9/v/value_error'}]} |
| error_text |
[{'type': 'value_error', 'loc': ('body', 'product', 'variants', 0), 'msg': "Value error, Field 'variant_images' must contain at least 1 items", 'input': {'remote_code': '51997709205720', 'upc': '', 'additional_upc': '', 'remote_url': 'https://www.toysrus.com/products/lego%C2%AE-star-wars%E2%84%A2-r2-d2%E2%84%A2-set-75379', 'size': 'N/A', 'origin_color': 'N/A', 'price': 99.99, 'variant_images': [], 'stock_count': 1, 'data': ['transfer'], 'image_url': 'https://www.toysrus.com/cdn/shopifycloud/storefront/assets/no-image-2048-a2addb12_1024x1024.gif', 'description': 'Color: N/A; Size: N/A', 'colors': ['N/A']}, 'ctx': {'error': ValueError("Field 'variant_images' must contain at least 1 items")}, 'url': 'https://errors.pydantic.dev/2.9/v/value_error'}] |