- Upload
- Extract
- Review
- Write
Automator · Job 8e3e40418cff
Screenshot 2026-08-21 at 11.24.48 AM.png
Advantage write failed: price for A11655S must be between 0 and 25.00
Failed
Debug log
Every extract step, parsed inventory row, write attempt, and the raw vision/Advantage responses stay here.
price for A11655S must be between 0 and 25.00
- 2026-08-21T13:01:28 · received Screenshot 2026-08-21 at 11.24.48 AM.png
- 2026-08-21T13:01:28 · extract.start Screenshot 2026-08-21 at 11.24.48 AM.png (1642024 bytes)
- 2026-08-21T13:01:29 · image 1 webp frame(s), 91948 bytes (from 1642024)
- 2026-08-21T13:01:34 · vision.response { "sender_name": "David", "sender_company": "Mandarin Oriental New York", "sender_email": "", "sender_phone": "212-805-8841", "account_number": "A10065027", "ship_to": "Shipping & Receiving, Mandarin Oriental New York, 80 Columbus Circle @ 60th Street, New York NY 10023", "requested_date": "2026-05-23", "custpo": "150823", "note": "", "line_items": [ { "raw_description": "Canape Brioche Sliced", "item": "106399", "quantity": 6.0, "unit": "EACH", "price": "14.20" }, { "raw_description": "Canape Whole Wheat Sliced", "item": "106398", "quantity": 6.0, "unit": "EACH", "price": "6.82" } ] }
- 2026-08-21T13:01:34 · parse 2 inventory row(s) from claude-sonnet-5
- 2026-08-21T13:01:34 · parse.line 1. qty=6.0 EA item=106399 | Canape Brioche Sliced @ 14.2
- 2026-08-21T13:01:34 · parse.line 2. qty=6.0 EA item=106398 | Canape Whole Wheat Sliced @ 6.82
- 2026-08-21T13:01:34 · extract 2 line(s), account A10065027
- 2026-08-21T13:01:39 · directory A1006502 via directory_name (MANDARIN ORIENTAL HOTEL)
- 2026-08-21T13:01:40 · item 1. A11655S AP CANAPE BRIO SL qty=6.0 via description score=0.829
- 2026-08-21T13:01:40 · item 2. unmatched Canape Whole Wheat Sliced (item_unresolved); candidates A10719S 0.847, AS01114S 0.846, SS2002 0.792
- 2026-08-21T13:01:40 · draft 2 line(s); filled account, customer_name, ship_name, address0, city, state, zip, phone
- 2026-08-21T13:01:40 · directory A1006502 via directory_name (MANDARIN ORIENTAL HOTEL)
- 2026-08-21T13:01:53 · draft.save 2 line(s)
- 2026-08-21T13:01:53 · approve 1 line(s), account 99999
- 2026-08-21T13:01:54 · write test order total must be between 0 and 50.00
- 2026-08-21T13:02:06 · draft.save 2 line(s)
- 2026-08-21T13:02:06 · approve 1 line(s), account 99999
- 2026-08-21T13:02:07 · write quantity for A11655S must be between 0 and 24
- 2026-08-21T13:02:17 · draft.save 2 line(s)
- 2026-08-21T13:02:17 · approve 1 line(s), account 99999
- 2026-08-21T13:02:18 · write test order total must be between 0 and 50.00
- 2026-08-21T13:03:10 · draft.save 2 line(s)
- 2026-08-21T13:03:10 · approve 2 line(s), account 99999
- 2026-08-21T13:03:10 · write price for A11655S must be between 0 and 25.00
- 2026-08-21T13:10:49 · approve 1 line(s), account 99999
- 2026-08-21T13:10:49 · write.attempt Sending to Advantage (TEST ACCOUNT 99999): 1 line(s), total $425.00: A11655S qty=5 @ $85.00 = $425.00
- 2026-08-21T13:10:49 · write Advantage write failed: price for A11655S must be between 0 and 25.00 | attempted: 1 line(s), total $425.00: A11655S qty=5 @ $85.00 = $425.00
Traceback (most recent call last):
File "/home/dragon/ar-write-sandbox/webapp/intake.py", line 1362, in write_job
result = create_test_order(
items,
...<3 lines>...
exec_fn=exec_fn,
)
File "/home/dragon/ar-write-sandbox/webapp/orders.py", line 317, in create_test_order
clean = _normalize_lines(lines)
File "/home/dragon/ar-write-sandbox/webapp/orders.py", line 145, in _normalize_lines
raise ValueError(f"price for {item} must be between 0 and {MAX_LINE:.2f}")
ValueError: price for A11655S must be between 0 and 25.00
Last write attempt
1 line(s), total $425.00: A11655S qty=5 @ $85.00 = $425.00