Urgent.News

600+ sources. One page. See who else covered it.

Editions

Tech

How to Handle Audio Transcription API 404/501 — available=false Speech-to-Text in 2026

Short answer: route production supplier-invoice audio to an external speech-to-text provider whenever the model catalog does not advertise an available ASR model, and record that routing decision against the tenant before attempting an upload. A 404 , 501 , or available=false is a capability signal, not a reason to keep retrying. For a marketplace, transcription is only the first stage. The real…

When the audio transcription API returns a 404, 501, or available=false status, it indicates that the requested model is not available for transcription. Instead of attempting to retry the request, it is recommended to route the production supplier-invoice audio to an external speech-to-text provider. This signal signifies a lack of capability rather than a temporary issue that can be resolved through repeated attempts.

In a marketplace setting, the ultimate goal is to extract invoice fields from the audio and produce an auditable chain from the audio attachment to the extracted fields. The external provider acts as the first stage in this process, with the marketplace ultimately responsible for auditing the entire workflow. The system should implement a small ASR port that includes a catalog check and a tenant usage ledger.

The extraction of invoice fields should not depend on the specific provider, ensuring that the marketplace can retrieve relevant information regardless of which provider handles the transcription. The provider boundary should remain minimal, with a single logical operation ID generated at ingestion and carried through the entire audio storage, transcription, field extraction, review, and posting process.

This ID should remain stable across retries, while each network call should have a separate attempt ID. By distinguishing between the operation ID and the attempt ID, the system can achieve exactly-once posting semantics, enabling accurate accounting for transcription costs attributable to individual tenants. To implement this logic, the backend should first check the model catalog before building a multipart upload or retry queue.

If no available ASR model is present, admission control should be triggered, and the configured external provider should be selected. It is important not to classify this state as transient, as failing to do so can lead to an expensive failure mode where numerous retries occur while the actual transcription work remains unaccomplished.

A simple Go program demonstrates how to perform the catalog gate against the documented model route, using an environment variable for the key and handling various HTTP responses, including 429 status codes with Retry-After headers or bounded exponential delays. By implementing these strategies, the backend can effectively handle audio transcription API responses and ensure accurate and auditable invoice processing.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — it may contain errors, so check the original before relying on it.

Read the original at dev.to →

More in Tech

🛴 Urban Lab Goes Open Source: Smart Scooters, Monero Escrow & Open Hardware"

🛴 Urban Lab Goes Open Source: Smart Scooters, Monero Escrow & Open Hardware What started as an idea for a smart electric scooter is becoming something much bigger. Urban Lab is going open source.

  • Urban Lab transforms smart scooters into open source mobility infrastructure.
  • Hardware, firmware, AI services, and escrow experiments are open source.
  • Payment architecture uses Monero-based 2-of-3 multisig escrow workflow.

Implementing Node.js Support Triage — Summarize PDF Pages with Embeddings

Short answer: for B2B support triage, split PDF retrieval from answer generation, rerank a small evidence set, and let the final summary assign a queue only when the cited pages support that decision.

  • Implement three-step process for B2B support triage using Node.js semantic search
  • Define separate ports for vector search, reranking, and structured generation
  • Retain document IDs, page numbers, and metadata to preserve citation integrity