- Upload
- Extract
- Review
- Write
Automator · Job 08a13f728290
Screenshot 2026-09-20 at 2.39.41 PM.png
Could not extract the order: vision HTTP 401: {"detail":"401 Unauthorized"}
Needs Review
Debug log
Every extract step, parsed inventory row, write attempt, and the raw vision/Advantage responses stay here.
vision HTTP 401: {"detail":"401 Unauthorized"}
- 2026-09-20T14:39:57 · received Screenshot 2026-09-20 at 2.39.41 PM.png
- 2026-09-20T14:39:57 · extract.start Screenshot 2026-09-20 at 2.39.41 PM.png (647541 bytes)
- 2026-09-20T14:39:58 · image 1 webp frame(s), 55320 bytes (from 647541)
- 2026-09-20T14:39:58 · extract vision HTTP 401: {"detail":"401 Unauthorized"}
- 2026-09-20T14:39:58 · vision.response { "detail": "401 Unauthorized" }
Traceback (most recent call last):
File "/home/dragon/ar-write-sandbox/webapp/intake.py", line 941, in extract_order
with urllib.request.urlopen(req, timeout=180) as resp:
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/urllib/request.py", line 187, in urlopen
return opener.open(url, data, timeout)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/urllib/request.py", line 493, in open
response = meth(req, response)
File "/usr/lib/python3.14/urllib/request.py", line 602, in http_response
response = self.parent.error(
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.14/urllib/request.py", line 531, in error
return self._call_chain(*args)
~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/lib/python3.14/urllib/request.py", line 464, in _call_chain
result = func(*args)
File "/usr/lib/python3.14/urllib/request.py", line 611, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 401: Unauthorized
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/dragon/ar-write-sandbox/webapp/intake.py", line 1100, in process_job
extracted = extract_order(images, transcribe_fn=transcribe_fn, debug=vision_debug)
File "/home/dragon/ar-write-sandbox/webapp/intake.py", line 954, in extract_order
raise RuntimeError(f"vision HTTP {exc.code}: {err_body or exc.reason}") from exc
RuntimeError: vision HTTP 401: {"detail":"401 Unauthorized"}
Vision API response
rndev6--invoicevision1
{
"detail": "401 Unauthorized"
}