| body |
{"product": {"rating": null, "rating_count": null, "brand": "H&M", "name": "Sun Protection Set UPF 50", "description": "Sun protection set with a swimsuit and matching sun cap, both in UV-protective fabric with a printed design. Swimsuit with a small stand-up collar, zipper at front with anti-chafe chin guard, long raglan sleeves, and short legs. Cap with a visor at front and protective flap at back of neck. UPF 50.", "data": {"dataFacets": []}, "categories": ["Baby > Baby Boy Clothing > Swimwear > Swimsuits"], "gender": "Boys", "product_images": [], "market_id": 82, "remote_code": "1119318", "is_lost": 0, "variants": [{"remote_code": "1119318015014", "upc": "1119318015014", "remote_url": "https://www2.hm.com/en_us/productpage.1119318015.html", "size": "18M/2T (1-2Y)", "origin_color": "Light blue/striped", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/a8/0a/a80a24647e63040018a771b9d177b0013aa9bc27.jpg", "https://image.hm.com/assets/hm/e4/df/e4df50b57b6028620f956c7f44eb5e9f91bff21c.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/a8/0a/a80a24647e63040018a771b9d177b0013aa9bc27.jpg", "description": "Color: Light blue/striped; Size: 18M/2T (1-2Y)", "colors": ["Light blue/striped"]}, {"remote_code": "1119318015007", "upc": "1119318015007", "remote_url": "https://www2.hm.com/en_us/productpage.1119318015.html", "size": "3/4T (2-4Y)", "origin_color": "Light blue/striped", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/a8/0a/a80a24647e63040018a771b9d177b0013aa9bc27.jpg", "https://image.hm.com/assets/hm/e4/df/e4df50b57b6028620f956c7f44eb5e9f91bff21c.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/a8/0a/a80a24647e63040018a771b9d177b0013aa9bc27.jpg", "description": "Color: Light blue/striped; Size: 3/4T (2-4Y)", "colors": ["Light blue/striped"]}, {"remote_code": "1119318026003", "upc": "1119318026003", "remote_url": "https://www2.hm.com/en_us/productpage.1119318026.html", "size": "3-6M (2-6M)", "origin_color": "White/marine animals", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/35/08/3508dd5041ffc323ba171e45fc43faad50db55cd.jpg", "https://image.hm.com/assets/hm/3a/ca/3aca27f3b29132aa9c095040fb211809b1eb50e3.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/35/08/3508dd5041ffc323ba171e45fc43faad50db55cd.jpg", "description": "Color: White/marine animals; Size: 3-6M (2-6M)", "colors": ["White/marine animals"]}, {"remote_code": "1119318026004", "upc": "1119318026004", "remote_url": "https://www2.hm.com/en_us/productpage.1119318026.html", "size": "9-12M (6-12M)", "origin_color": "White/marine animals", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/35/08/3508dd5041ffc323ba171e45fc43faad50db55cd.jpg", "https://image.hm.com/assets/hm/3a/ca/3aca27f3b29132aa9c095040fb211809b1eb50e3.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/35/08/3508dd5041ffc323ba171e45fc43faad50db55cd.jpg", "description": "Color: White/marine animals; Size: 9-12M (6-12M)", "colors": ["White/marine animals"]}, {"remote_code": "1119318026014", "upc": "1119318026014", "remote_url": "https://www2.hm.com/en_us/productpage.1119318026.html", "size": "18M/2T (1-2Y)", "origin_color": "White/marine animals", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/35/08/3508dd5041ffc323ba171e45fc43faad50db55cd.jpg", "https://image.hm.com/assets/hm/3a/ca/3aca27f3b29132aa9c095040fb211809b1eb50e3.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/35/08/3508dd5041ffc323ba171e45fc43faad50db55cd.jpg", "description": "Color: White/marine animals; Size: 18M/2T (1-2Y)", "colors": ["White/marine animals"]}, {"remote_code": "1119318026007", "upc": "1119318026007", "remote_url": "https://www2.hm.com/en_us/productpage.1119318026.html", "size": "3/4T (2-4Y)", "origin_color": "White/marine animals", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/35/08/3508dd5041ffc323ba171e45fc43faad50db55cd.jpg", "https://image.hm.com/assets/hm/3a/ca/3aca27f3b29132aa9c095040fb211809b1eb50e3.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/35/08/3508dd5041ffc323ba171e45fc43faad50db55cd.jpg", "description": "Color: White/marine animals; Size: 3/4T (2-4Y)", "colors": ["White/marine animals"]}, {"remote_code": "1119318027003", "upc": "1119318027003", "remote_url": "https://www2.hm.com/en_us/productpage.1119318027.html", "size": "3-6M (2-6M)", "origin_color": "Light pink/cherries", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/91/be/91bef1ede1d90b1c15b3fa8e344d55b99284344c.jpg", "https://image.hm.com/assets/hm/09/94/099489da3c3247a55a7d251bb32362b9562de857.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/91/be/91bef1ede1d90b1c15b3fa8e344d55b99284344c.jpg", "description": "Color: Light pink/cherries; Size: 3-6M (2-6M)", "colors": ["Light pink/cherries"]}, {"remote_code": "1119318027004", "upc": "1119318027004", "remote_url": "https://www2.hm.com/en_us/productpage.1119318027.html", "size": "9-12M (6-12M)", "origin_color": "Light pink/cherries", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/91/be/91bef1ede1d90b1c15b3fa8e344d55b99284344c.jpg", "https://image.hm.com/assets/hm/09/94/099489da3c3247a55a7d251bb32362b9562de857.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/91/be/91bef1ede1d90b1c15b3fa8e344d55b99284344c.jpg", "description": "Color: Light pink/cherries; Size: 9-12M (6-12M)", "colors": ["Light pink/cherries"]}, {"remote_code": "1119318027014", "upc": "1119318027014", "remote_url": "https://www2.hm.com/en_us/productpage.1119318027.html", "size": "18M/2T (1-2Y)", "origin_color": "Light pink/cherries", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/91/be/91bef1ede1d90b1c15b3fa8e344d55b99284344c.jpg", "https://image.hm.com/assets/hm/09/94/099489da3c3247a55a7d251bb32362b9562de857.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/91/be/91bef1ede1d90b1c15b3fa8e344d55b99284344c.jpg", "description": "Color: Light pink/cherries; Size: 18M/2T (1-2Y)", "colors": ["Light pink/cherries"]}, {"remote_code": "1119318027007", "upc": "1119318027007", "remote_url": "https://www2.hm.com/en_us/productpage.1119318027.html", "size": "3/4T (2-4Y)", "origin_color": "Light pink/cherries", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/91/be/91bef1ede1d90b1c15b3fa8e344d55b99284344c.jpg", "https://image.hm.com/assets/hm/09/94/099489da3c3247a55a7d251bb32362b9562de857.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/91/be/91bef1ede1d90b1c15b3fa8e344d55b99284344c.jpg", "description": "Color: Light pink/cherries; Size: 3/4T (2-4Y)", "colors": ["Light pink/cherries"]}, {"remote_code": "1119318028004", "upc": "1119318028004", "remote_url": "https://www2.hm.com/en_us/productpage.1119318028.html", "size": "9-12M (6-12M)", "origin_color": "Light turquoise/palm trees", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/4d/61/4d6146450c3a63dc029080288fcc5744036063c2.jpg", "https://image.hm.com/assets/hm/8f/dc/8fdc6560ea1f815c697748687fbe4d41ce453ac6.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/4d/61/4d6146450c3a63dc029080288fcc5744036063c2.jpg", "description": "Color: Light turquoise/palm trees; Size: 9-12M (6-12M)", "colors": ["Light turquoise/palm trees"]}, {"remote_code": "1119318028014", "upc": "1119318028014", "remote_url": "https://www2.hm.com/en_us/productpage.1119318028.html", "size": "18M/2T (1-2Y)", "origin_color": "Light turquoise/palm trees", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/4d/61/4d6146450c3a63dc029080288fcc5744036063c2.jpg", "https://image.hm.com/assets/hm/8f/dc/8fdc6560ea1f815c697748687fbe4d41ce453ac6.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/4d/61/4d6146450c3a63dc029080288fcc5744036063c2.jpg", "description": "Color: Light turquoise/palm trees; Size: 18M/2T (1-2Y)", "colors": ["Light turquoise/palm trees"]}, {"remote_code": "1119318028007", "upc": "1119318028007", "remote_url": "https://www2.hm.com/en_us/productpage.1119318028.html", "size": "3/4T (2-4Y)", "origin_color": "Light turquoise/palm trees", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/4d/61/4d6146450c3a63dc029080288fcc5744036063c2.jpg", "https://image.hm.com/assets/hm/8f/dc/8fdc6560ea1f815c697748687fbe4d41ce453ac6.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/4d/61/4d6146450c3a63dc029080288fcc5744036063c2.jpg", "description": "Color: Light turquoise/palm trees; Size: 3/4T (2-4Y)", "colors": ["Light turquoise/palm trees"]}, {"remote_code": "1119318029003", "upc": "1119318029003", "remote_url": "https://www2.hm.com/en_us/productpage.1119318029.html", "size": "3-6M (2-6M)", "origin_color": "Light beige/animals", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/ca/b5/cab5054e661dfa9da13a064f83472cbc657f88a7.jpg", "https://image.hm.com/assets/hm/11/6a/116a5b5ced9a4ec2fcf2a9b1641799d59ab44084.jpg", "https://image.hm.com/assets/hm/ca/29/ca29e78cb7bc7c4ab354be68b783f09353aec6d9.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/ca/b5/cab5054e661dfa9da13a064f83472cbc657f88a7.jpg", "description": "Color: Light beige/animals; Size: 3-6M (2-6M)", "colors": ["Light beige/animals"]}, {"remote_code": "1119318029004", "upc": "1119318029004", "remote_url": "https://www2.hm.com/en_us/productpage.1119318029.html", "size": "9-12M (6-12M)", "origin_color": "Light beige/animals", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/ca/b5/cab5054e661dfa9da13a064f83472cbc657f88a7.jpg", "https://image.hm.com/assets/hm/11/6a/116a5b5ced9a4ec2fcf2a9b1641799d59ab44084.jpg", "https://image.hm.com/assets/hm/ca/29/ca29e78cb7bc7c4ab354be68b783f09353aec6d9.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/ca/b5/cab5054e661dfa9da13a064f83472cbc657f88a7.jpg", "description": "Color: Light beige/animals; Size: 9-12M (6-12M)", "colors": ["Light beige/animals"]}, {"remote_code": "1119318029014", "upc": "1119318029014", "remote_url": "https://www2.hm.com/en_us/productpage.1119318029.html", "size": "18M/2T (1-2Y)", "origin_color": "Light beige/animals", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/ca/b5/cab5054e661dfa9da13a064f83472cbc657f88a7.jpg", "https://image.hm.com/assets/hm/11/6a/116a5b5ced9a4ec2fcf2a9b1641799d59ab44084.jpg", "https://image.hm.com/assets/hm/ca/29/ca29e78cb7bc7c4ab354be68b783f09353aec6d9.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/ca/b5/cab5054e661dfa9da13a064f83472cbc657f88a7.jpg", "description": "Color: Light beige/animals; Size: 18M/2T (1-2Y)", "colors": ["Light beige/animals"]}, {"remote_code": "1119318029007", "upc": "1119318029007", "remote_url": "https://www2.hm.com/en_us/productpage.1119318029.html", "size": "3/4T (2-4Y)", "origin_color": "Light beige/animals", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/ca/b5/cab5054e661dfa9da13a064f83472cbc657f88a7.jpg", "https://image.hm.com/assets/hm/11/6a/116a5b5ced9a4ec2fcf2a9b1641799d59ab44084.jpg", "https://image.hm.com/assets/hm/ca/29/ca29e78cb7bc7c4ab354be68b783f09353aec6d9.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/ca/b5/cab5054e661dfa9da13a064f83472cbc657f88a7.jpg", "description": "Color: Light beige/animals; Size: 3/4T (2-4Y)", "colors": ["Light beige/animals"]}, {"remote_code": "1119318036003", "upc": "1119318036003", "remote_url": "https://www2.hm.com/en_us/productpage.1119318036.html", "size": "3-6M (2-6M)", "origin_color": "Light turquoise/marine animals", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/33/66/33661b59331d6b05814441f99a8340aaba908635.jpg", "https://image.hm.com/assets/hm/0c/47/0c4793be281e85a504b14cc5f653612758753d9e.jpg", "https://image.hm.com/assets/hm/73/d5/73d59ea552be6d503540c7d4b3e2f3da7f10cf28.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/33/66/33661b59331d6b05814441f99a8340aaba908635.jpg", "description": "Color: Light turquoise/marine animals; Size: 3-6M (2-6M)", "colors": ["Light turquoise/marine animals"]}, {"remote_code": "1119318036004", "upc": "1119318036004", "remote_url": "https://www2.hm.com/en_us/productpage.1119318036.html", "size": "9-12M (6-12M)", "origin_color": "Light turquoise/marine animals", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/33/66/33661b59331d6b05814441f99a8340aaba908635.jpg", "https://image.hm.com/assets/hm/0c/47/0c4793be281e85a504b14cc5f653612758753d9e.jpg", "https://image.hm.com/assets/hm/73/d5/73d59ea552be6d503540c7d4b3e2f3da7f10cf28.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/33/66/33661b59331d6b05814441f99a8340aaba908635.jpg", "description": "Color: Light turquoise/marine animals; Size: 9-12M (6-12M)", "colors": ["Light turquoise/marine animals"]}, {"remote_code": "1119318036014", "upc": "1119318036014", "remote_url": "https://www2.hm.com/en_us/productpage.1119318036.html", "size": "18M/2T (1-2Y)", "origin_color": "Light turquoise/marine animals", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/33/66/33661b59331d6b05814441f99a8340aaba908635.jpg", "https://image.hm.com/assets/hm/0c/47/0c4793be281e85a504b14cc5f653612758753d9e.jpg", "https://image.hm.com/assets/hm/73/d5/73d59ea552be6d503540c7d4b3e2f3da7f10cf28.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/33/66/33661b59331d6b05814441f99a8340aaba908635.jpg", "description": "Color: Light turquoise/marine animals; Size: 18M/2T (1-2Y)", "colors": ["Light turquoise/marine animals"]}, {"remote_code": "1119318036007", "upc": "1119318036007", "remote_url": "https://www2.hm.com/en_us/productpage.1119318036.html", "size": "3/4T (2-4Y)", "origin_color": "Light turquoise/marine animals", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/33/66/33661b59331d6b05814441f99a8340aaba908635.jpg", "https://image.hm.com/assets/hm/0c/47/0c4793be281e85a504b14cc5f653612758753d9e.jpg", "https://image.hm.com/assets/hm/73/d5/73d59ea552be6d503540c7d4b3e2f3da7f10cf28.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/33/66/33661b59331d6b05814441f99a8340aaba908635.jpg", "description": "Color: Light turquoise/marine animals; Size: 3/4T (2-4Y)", "colors": ["Light turquoise/marine animals"]}, {"remote_code": "1119318037003", "upc": "1119318037003", "remote_url": "https://www2.hm.com/en_us/productpage.1119318037.html", "size": "3-6M (2-6M)", "origin_color": "Cream/patterned", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/35/04/3504c77e31a752f618dd6add7c748ba838c865ef.jpg", "https://image.hm.com/assets/hm/38/e9/38e9a5f7846e8a6c3c1ec12273c7f2f4266eaccc.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/35/04/3504c77e31a752f618dd6add7c748ba838c865ef.jpg", "description": "Color: Cream/patterned; Size: 3-6M (2-6M)", "colors": ["Cream/patterned"]}, {"remote_code": "1119318037004", "upc": "1119318037004", "remote_url": "https://www2.hm.com/en_us/productpage.1119318037.html", "size": "9-12M (6-12M)", "origin_color": "Cream/patterned", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/35/04/3504c77e31a752f618dd6add7c748ba838c865ef.jpg", "https://image.hm.com/assets/hm/38/e9/38e9a5f7846e8a6c3c1ec12273c7f2f4266eaccc.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/35/04/3504c77e31a752f618dd6add7c748ba838c865ef.jpg", "description": "Color: Cream/patterned; Size: 9-12M (6-12M)", "colors": ["Cream/patterned"]}, {"remote_code": "1119318037014", "upc": "1119318037014", "remote_url": "https://www2.hm.com/en_us/productpage.1119318037.html", "size": "18M/2T (1-2Y)", "origin_color": "Cream/patterned", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/35/04/3504c77e31a752f618dd6add7c748ba838c865ef.jpg", "https://image.hm.com/assets/hm/38/e9/38e9a5f7846e8a6c3c1ec12273c7f2f4266eaccc.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/35/04/3504c77e31a752f618dd6add7c748ba838c865ef.jpg", "description": "Color: Cream/patterned; Size: 18M/2T (1-2Y)", "colors": ["Cream/patterned"]}, {"remote_code": "1119318037007", "upc": "1119318037007", "remote_url": "https://www2.hm.com/en_us/productpage.1119318037.html", "size": "3/4T (2-4Y)", "origin_color": "Cream/patterned", "price": 37.99, "variant_images": ["https://image.hm.com/assets/hm/35/04/3504c77e31a752f618dd6add7c748ba838c865ef.jpg", "https://image.hm.com/assets/hm/38/e9/38e9a5f7846e8a6c3c1ec12273c7f2f4266eaccc.jpg"], "stock_count": 1, "data": ["transfer"], "image_url": "https://image.hm.com/assets/hm/35/04/3504c77e31a752f618dd6add7c748ba838c865ef.jpg", "description": "Color: Cream/patterned; Size: 3/4T (2-4Y)", "colors": ["Cream/patterned"]}]}, "remote_url": "https://www2.hm.com/en_us/productpage.1119318015.html", "parsing_type": "basket", "finalize": false, "parsing_code": 200, "parsing_text": "[200] Success: Item: '1119318' - parsed successfully. additional_error_text=''"} |
| error_text |
File "/opt/working_folder/middlewares/catch_errors_middleware/catch_500_errors.py", line 15, in dispatch
response = await call_next(request)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
raise app_exc
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in __call__
await self.app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
raise exc
File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
raise e
File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
await self.app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
response = await func(request)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 274, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 193, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/working_folder/api/logging_router/api/product_logging.py", line 495, in log_product_upload
add_product_history(db, market_id, remote_code, json_data)
File "/opt/working_folder/api/logging_router/api/product_logging.py", line 319, in add_product_history
.first()
^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/query.py", line 2728, in first
return self.limit(1)._iter().first() # type: ignore
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/query.py", line 2827, in _iter
result: Union[ScalarResult[_T], Result[_T]] = self.session.execute(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2362, in execute
return self._execute_internal(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2247, in _execute_internal
result: Result[Any] = compile_state_cls.orm_execute_statement(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/orm/context.py", line 305, in orm_execute_statement
result = conn.execute(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1418, in execute
return meth(
^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection
return connection._execute_clauseelement(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement
ret = self._execute_context(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context
return self._exec_single_context(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context
self._handle_dbapi_exception(
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2355, in _handle_dbapi_exception
raise sqlalchemy_exception.with_traceback(exc_info[2]) from e
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context
self.dialect.do_execute(
File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 941, in do_execute
cursor.execute(statement, parameters)
|