Skip to content
Sign in

/docs · errors

Errors

When a call fails, the response says what went wrong and where to read more. Every error has a stable code; the section for that code on this page tells you the cause, what to do, and what the response looks like.


What an error response contains

HTTP/1.1 401 Unauthorized
Link: <https://audiolab.tools/docs/errors#invalid_api_key>; rel="help"

{
  "error": {
    "type": "unauthorized",
    "message": "Invalid or revoked API key.",
    "code": "invalid_api_key",
    "docs_url": "https://audiolab.tools/docs/errors#invalid_api_key"
  }
}
  • type and message are as they always were. code and docs_url were added on 12 October 2026; code against code (it never changes meaning), not against the wording of message.
  • On a 429 the Retry-After header says how many seconds to wait. On a 429 and a 402 for a limit the error also carries usage: the window (minute, month, or grants for Voice minutes), the limit, and what you used. A request refused for the monthly call limit is not counted as a call, so there used stops at the limit; within a minute every request counts, refused ones too. A 503 for a pause carries a Retry-After of 3600.
  • Two errors come from the hosting platform, before or after our code, as plain text without a code: a 413 (FUNCTION_PAYLOAD_TOO_LARGE) when the request body is over about 4.5 MB, and a 504 when a single call runs past 300 seconds. Send a big file by url or the signed upload, and a long analysis as a job (/v1/jobs). A call that ran and then failed was counted, so do not retry a 504 in a tight loop.
  • The Link header with rel="help" points to the same section, for clients that do not read the body.
  • The MCP servers add one line to the error text: Docs: https://audiolab.tools/docs/errors#invalid_api_key.

API errors

HTTP 401 · invalid_api_key

Invalid or revoked API key

Cause. The Authorization header carries a key we do not know: it is misspelled, was revoked, or was cut off. On the analysis routes a request with no Authorization header at all is not this error: it runs as the keyless trial. /v1/batch and /v1/usage always need a key and answer with this error when there is none.

What to do. Send it exactly as "Authorization: Bearer al_live_..." (the whole key, no quotes). A key is shown once when you create it; if you lost it, make a new one on /account and revoke the old one.

{
  "error": {
    "type": "unauthorized",
    "message": "Invalid or revoked API key.",
    "code": "invalid_api_key",
    "docs_url": "https://audiolab.tools/docs/errors#invalid_api_key"
  }
}

HTTP 429 · rate_limited

Too many requests this minute

Cause. More requests in a minute than your key allows: 60 on the free tier, 120 on Plus, 300 on Studio. The keyless trial allows 3 a minute.

What to do. Wait the number of seconds in the Retry-After header (60) and send fewer requests at once. The "usage" field in the error says how many you sent in the window and what the limit is. For many files at once use /v1/batch.

{
  "error": {
    "type": "rate_limited",
    "message": "Rate limit exceeded: max 60 requests/minute. Retry shortly.",
    "code": "rate_limited",
    "docs_url": "https://audiolab.tools/docs/errors#rate_limited",
    "usage": {
      "window": "minute",
      "limit": 60,
      "used": 61
    }
  }
}

HTTP 402 · quota_exceeded

Monthly call limit reached

Cause. A key without an account has used its calls for this month: the keyless trial and a trial key each allow 20 calls a month. A key with an account does not count calls since 22 November 2026: it counts minutes of audio and answers 402 voice_minutes_exhausted when they run out. An accepted request counts, but not one we refuse before measuring (a recording that is too long or cannot be read, a file that is incomplete or could not be fetched) and not one that fails on our side (a 5xx, a job that runs out of time): those no longer count as a call (from 21 November 2026). Their data volume is taken off again too when we did not read the file or the fault was ours; a file we read and then refused (not audio, too long, incomplete) keeps its data counted. A result about the content, such as no room measurement in a recording, does count.

What to do. The count starts again on the 1st of the month (UTC). To go on now, sign in on /account: the same key becomes a free key with 300 minutes of audio a month, no card. The "usage" field in the error shows the limit and what has been used.

{
  "error": {
    "type": "quota_exceeded",
    "message": "Trial limit reached (20 calls). A free key gives you 300 minutes of audio a month, no card, https://audiolab.tools/account",
    "code": "quota_exceeded",
    "docs_url": "https://audiolab.tools/docs/errors#quota_exceeded",
    "usage": {
      "window": "month",
      "limit": 20,
      "used": 21
    }
  }
}

HTTP 402 · data_quota_exceeded

Monthly data limit reached

Cause. Your account has processed its audio volume for this month: 2 GB on the free tier, 20 GB on Plus. The keyless trial has 200 MB. The refusal itself still counts as one call.

What to do. The volume starts again on the 1st of the month (UTC). To go on now, upgrade on /pricing or email partners@audiolab.tools. Analysing a shorter section of each file also uses less.

{
  "error": {
    "type": "quota_exceeded",
    "message": "You've hit your monthly data limit (2 GB processed). You're flagged for a bump.",
    "code": "data_quota_exceeded",
    "docs_url": "https://audiolab.tools/docs/errors#data_quota_exceeded"
  }
}

HTTP 402 · profile_requires_paid_plan

This preset needs a paid plan

Cause. You asked /v1/analyze/profile for a preset that is not on the free tier. The free tier covers the "basic" preset.

What to do. Use profile "basic", or upgrade on /pricing. The error message names the presets your plan includes.

{
  "error": {
    "type": "quota_exceeded",
    "message": "The \"dataset\" preset is a paid-tier feature. Free covers basic: upgrade on https://audiolab.tools/pricing (the Founder lifetime counts).",
    "code": "profile_requires_paid_plan",
    "docs_url": "https://audiolab.tools/docs/errors#profile_requires_paid_plan"
  }
}

HTTP 413 · file_too_large

File too large

Cause. The audio is over the per-file limit of 150 MB. A raw request body over about 4.5 MB is refused earlier, by the platform, with a plain 413 that carries no code.

What to do. Send a public URL in a JSON body instead of the file itself ({"url": "https://..."}), or upload it through the signed-upload route and send the objectPath it returns. Or analyse a section of the file.

{
  "error": {
    "type": "payload_too_large",
    "message": "file too large",
    "code": "file_too_large",
    "docs_url": "https://audiolab.tools/docs/errors#file_too_large"
  }
}

HTTP 413 · track_too_long

Recording too long

Cause. The voice, signal and QC routes decode the whole recording into memory, and the room for that is 170 MB of decoded audio. How long a recording may be therefore depends on its format: 8 kHz mono 92.8 min, 16 kHz mono 46.4 min, 16 kHz stereo 23.2 min, 48 kHz mono 15.4 min, 48 kHz stereo 7.7 min. More channels or a higher sample rate mean a shorter limit. The loudness routes (mixlab/*) stream a whole file of up to 3 hours, but they give the loudness measures, not the voice or QC lenses. A window (startSec and durationSec) is cut out of the file as uncompressed 32-bit audio first, so on every route, the loudness routes included, it has the same limit per format as above.

What to do. Pick a window of at most the length for your format: startSec and durationSec (in seconds) cut it out of the file for you, so you do not have to cut the file yourself, and the answer says which window it measured (window). Send the windows one by one, or in one /v1/batch call. Or make the file smaller first: ffmpeg -i in.wav -ac 1 -ar 16000 out.wav turns any recording into 16 kHz mono, which is accepted up to 46.4 minutes (8 kHz mono: 92.8 minutes). For the loudness of the full length send the whole file, without startSec and durationSec, to a mixlab route. To see what a file would get before you spend a call, send it with dryRun: true. The same limits per phone and VoIP format are on https://audiolab.tools/voice-ai-check/calls.

{
  "error": {
    "type": "payload_too_large",
    "message": "This recording is 58m 12s at 16 kHz stereo. The voice, signal and QC routes decode the whole file into memory and hold 170 MB of decoded audio, which is about 23.2 minutes at this format. Send a section of at most 23.2 minutes (startSec and durationSec pick it for you, so you do not have to cut the file yourself), or downmix and resample first (ffmpeg -i in.wav -ac 1 -ar 16000 out.wav allows about 46.4 minutes), or use a loudness route (mixlab/*), which streams up to 3 hours. Limits per format: https://audiolab.tools/docs/errors#track_too_long",
    "code": "track_too_long",
    "docs_url": "https://audiolab.tools/docs/errors#track_too_long"
  }
}

HTTP 422 · unsupported_format

This is not audio we can read

Cause. We fetched or received the bytes, but they did not decode as audio: an unsupported or damaged file, or a URL that points to a web page instead of the audio file.

What to do. Check that the URL opens the audio file itself (WAV, MP3, FLAC, OGG, M4A and AIFF work), that the file plays, and that a Content-Type header is not hiding an error page. Try the same file as WAV.

{
  "error": {
    "type": "unprocessable",
    "message": "Could not decode this as audio. Check that the source is an audio file in a supported format.",
    "code": "unsupported_format",
    "docs_url": "https://audiolab.tools/docs/errors#unsupported_format"
  }
}

HTTP 422 · room_not_measurable

No room measurement in this recording

Cause. The "room" preset measures the reverberation from one clap or balloon pop, an impulse response or the sweep of the engine, and the recording held none of them: no clap stood out from the quiet, the recording is too short, or the source you named in roomSource does not match what the file holds.

What to do. Record about four seconds in a quiet room: a second of quiet, one firm clap about a metre from the microphone, and the room ringing out. For an impulse response or a recording of the sweep, say so with roomSource "impulse" or "sweep"; a balloon pop is roomSource "balloon".

{
  "error": {
    "type": "unprocessable",
    "message": "No room measurement in this recording: no clap found. Clap once, firmly, about a metre from the phone.",
    "code": "room_not_measurable",
    "docs_url": "https://audiolab.tools/docs/errors#room_not_measurable"
  }
}

HTTP 422 · invalid_samples

Some samples are not numbers

Cause. A float file (32 or 64 bit) holds sample values that are not numbers (NaN) or are infinite. Loudness, peak and every other measure would then rest on values that do not exist, so we do not measure the file. It usually means the program that wrote the file made an error, often an overflow, for example a model or a plugin that produced invalid output. Added 29 November 2026; before that such a file got an answer with -70 LUFS and empty peaks.

What to do. Export the file again from the program that made it, and check that program for an overflow or a crash. Replacing those samples with silence also works. The message says how many there are and where the first one is.

{
  "error": {
    "type": "unprocessable",
    "message": "225 of 144,000 samples are not numbers (NaN) or infinite, the first at 0.00 s. This usually means the program that wrote the file made an error, often an overflow. Export the file again, or replace those samples with silence.",
    "code": "invalid_samples",
    "docs_url": "https://audiolab.tools/docs/errors#invalid_samples"
  }
}

HTTP 422 · incomplete_file

The file ends early

Cause. The file declares a longer duration than could be decoded: it was cut off during an upload, a download or a recording, or it is damaged halfway. Measuring the part that decoded would describe a shorter file than the one you have, so we do not measure it. Added 8 November 2026.

What to do. Check that the file plays to the end, and upload or fetch it again. If it was a recording that stopped early, export it again from the recorder or the editor.

{
  "error": {
    "type": "unprocessable",
    "message": "The file ends early: it declares 20.00 s, but only 9.98 s could be decoded. Check that the file or the upload is complete.",
    "code": "incomplete_file",
    "docs_url": "https://audiolab.tools/docs/errors#incomplete_file"
  }
}

HTTP 400 · url_not_allowed

URL not allowed

Cause. The URL points somewhere we refuse to fetch from: a private or internal address, an unsupported scheme (only http and https), or it redirected somewhere that is.

What to do. Use a public https URL. For a file on your own machine or network, upload it through the signed-upload route and send the objectPath.

{
  "error": {
    "type": "invalid_request",
    "message": "URL not allowed",
    "code": "url_not_allowed",
    "docs_url": "https://audiolab.tools/docs/errors#url_not_allowed"
  }
}

HTTP 400 · url_fetch_failed

Could not fetch the audio

Cause. We tried to download the URL and it did not work: it timed out (we wait 20 seconds), answered with an error, needs a login, or the host could not be found.

What to do. Open the URL in a private browser window to check it works without signing in. For a private file, create a temporary public link, or upload it through the signed-upload route.

{
  "error": {
    "type": "invalid_request",
    "message": "could not fetch audio",
    "code": "url_fetch_failed",
    "docs_url": "https://audiolab.tools/docs/errors#url_fetch_failed"
  }
}

HTTP 400 · invalid_json

Request body is not valid JSON

Cause. The request says it is application/json but the body could not be parsed.

What to do. Check quotes and trailing commas, and that you send one JSON object. With curl use --data-binary or -d with single quotes around the JSON.

{
  "error": {
    "type": "invalid_request",
    "message": "Invalid JSON body.",
    "code": "invalid_json",
    "docs_url": "https://audiolab.tools/docs/errors#invalid_json"
  }
}

HTTP 400 · missing_input

No audio in the request

Cause. The request has neither a URL, nor an objectPath, nor an audio body.

What to do. Send {"url": "https://..."}, or {"objectPath": "..."} from the signed-upload route, or the audio itself with an audio/* Content-Type (small files only).

{
  "error": {
    "type": "invalid_request",
    "message": "Provide { \"url\": \"…\" }, { \"objectPath\": \"…\" }, or a raw audio body.",
    "code": "missing_input",
    "docs_url": "https://audiolab.tools/docs/errors#missing_input"
  }
}

HTTP 400 · invalid_parameter

A parameter is not valid

Cause. An argument has a value we do not accept: an unknown profile, an unknown roomSource, an unknown target, a target "custom" without numeric lufs and tp, or an endpoint a batch does not support.

What to do. Read the message: it names the parameter and lists the valid values. The OpenAPI document (/openapi.yaml) has the full list per endpoint.

{
  "error": {
    "type": "invalid_request",
    "message": "unknown profile: podcast, expected one of basic, voice, master, provenance, dataset, environment, broadcast, loop, room, chain, pitch",
    "code": "invalid_parameter",
    "docs_url": "https://audiolab.tools/docs/errors#invalid_parameter"
  }
}

HTTP 400 · batch_too_large

Too many files in one batch

Cause. A batch takes at most 20 files per call.

What to do. Split the list into groups and send one call per group. Each group counts as one call per file against your monthly allowance.

{
  "error": {
    "type": "invalid_request",
    "message": "Batch too large: max 20 items per call. Split into smaller batches.",
    "code": "batch_too_large",
    "docs_url": "https://audiolab.tools/docs/errors#batch_too_large"
  }
}

HTTP 400 · upload_not_found

Uploaded file not found

Cause. The objectPath is malformed, belongs to another key, or the upload is gone: uploads are removed within the hour.

What to do. Upload the file again through the signed-upload route and use the objectPath within the hour. A path only works with the key that uploaded it.

{
  "error": {
    "type": "invalid_request",
    "message": "Uploaded file not found or expired. Re-upload and try again.",
    "code": "upload_not_found",
    "docs_url": "https://audiolab.tools/docs/errors#upload_not_found"
  }
}

HTTP 404 · unknown_endpoint

Unknown endpoint

Cause. The path after /v1/ is not one of the endpoints.

What to do. Check the path against /openapi.yaml. The analysis routes are mixlab/analyze, mixlab/check-target, mixlab/timeseries, mixlab/spectrum, voicelab/qa, voicelab/segments, signallab, signallab/sample, analyze/profile and qc; next to them are batch, jobs, keys and usage.

{
  "error": {
    "type": "not_found",
    "message": "unknown endpoint: mixlab/analyse",
    "code": "unknown_endpoint",
    "docs_url": "https://audiolab.tools/docs/errors#unknown_endpoint"
  }
}

HTTP 404 · not_found

No job with this id

Cause. GET /v1/jobs/{id} found no job with this id for your key. A job can only be read with the key that made it, or with another key of the same account, and it is removed 30 days after it was made.

What to do. Check the id against the 202 answer or GET /v1/jobs, which lists the last 50 jobs of your key. Use the same key that created the job.

{
  "error": {
    "type": "not_found",
    "message": "No job with this id for this key.",
    "code": "not_found",
    "docs_url": "https://audiolab.tools/docs/errors#not_found"
  }
}

HTTP 429 · trial_key_limit

This network already has its trial keys

Cause. POST /v1/keys gives at most 3 trial keys per network in 30 days. This is not a per-minute limit: waiting a minute does not help.

What to do. Keep using a trial key you already have, or sign in at https://audiolab.tools/account for a free key (no card). A trial key made in this browser is added to your account when you open /account.

{
  "error": {
    "type": "rate_limited",
    "message": "This network already got 3 trial keys in the last 30 days. Use one of those, or sign in at https://audiolab.tools/account for a free key.",
    "code": "trial_key_limit",
    "docs_url": "https://audiolab.tools/docs/errors#trial_key_limit"
  }
}

HTTP 405 · method_not_allowed

Use POST (or GET on /v1/usage and /v1/jobs)

Cause. The analysis routes only answer POST requests, /v1/usage only answers GET, and /v1/jobs answers POST to make a job and GET to read one.

What to do. Send a POST to an analysis route and a GET to /v1/usage. A GET in a browser address bar on an analysis route shows this error.

{
  "error": {
    "type": "method_not_allowed",
    "message": "Use POST.",
    "code": "method_not_allowed",
    "docs_url": "https://audiolab.tools/docs/errors#method_not_allowed"
  }
}

HTTP 500 · storage_unavailable

Storage not available

Cause. We could not read your uploaded file from storage, could not save a new key or job, or storage is not reachable right now. This is on our side. The status is 500 on an analysis route, 503 when a new key or job could not be saved, and 502 from the upload door: the details are logged, never sent to you, and this code tells you where it went wrong.

What to do. Try again in a minute. If it keeps failing, email support@audiolab.tools with the time of the request.

{
  "error": {
    "type": "analysis_error",
    "message": "Internal analysis error.",
    "code": "storage_unavailable",
    "docs_url": "https://audiolab.tools/docs/errors#storage_unavailable"
  }
}

HTTP 500 · analysis_error

Something went wrong on our side

Cause. The analysis failed for a reason inside our service. The details are logged on our side and never sent to you.

What to do. Try again once. If the same file fails twice, email support@audiolab.tools with the time of the request and, if you can, the file.

{
  "error": {
    "type": "analysis_error",
    "message": "Internal analysis error.",
    "code": "analysis_error",
    "docs_url": "https://audiolab.tools/docs/errors#analysis_error"
  }
}

HTTP 402 · voice_minutes_exhausted

Your Voice minutes are used up, or too few for this recording

Cause. Every analysis on a key with an account counts minutes of audio, each file rounded up and the same file once a day, not calls. The recording you sent needs more minutes than your grants have left this period: the free monthly allowance, the one-time start credit and any package you bought, each with its own expiry. Nothing was processed and nothing was charged.

What to do. Wait for the first of the month, when the free minutes return, or buy a package at https://audiolab.tools/voice#plan. The browser checks keep working without minutes. The "usage" field says how many minutes the recording needs and how many are left.

{
  "error": {
    "type": "quota_exceeded",
    "message": "This recording needs 4 minutes of Voice credit (every analysis counts minutes of audio, each file rounded up, the same file once a day) and 2 are left. Nothing was processed or charged. New minutes arrive on the first of the month (300 free), or with a package: https://audiolab.tools/voice#plan",
    "code": "voice_minutes_exhausted",
    "docs_url": "https://audiolab.tools/docs/errors#voice_minutes_exhausted",
    "usage": {
      "window": "grants",
      "limit": 4,
      "used": 2
    }
  }
}

HTTP 503 · service_paused

The free tier or the trial is paused for the moment

Cause. We paused part of the API on purpose: the trial (with or without a trial key), or the whole free tier. That happens when the free layer is being abused or when a public test is running and we want the paid layer to stay fast. Your audio was not processed and nothing was counted against you.

What to do. Wait and try again later, or use a key: a paid key keeps working while the free tier is paused, and a key on an account keeps working while only the trial is paused (https://audiolab.tools/account). The browser labs at https://audiolab.tools measure on your device and need no API at all.

{
  "error": {
    "type": "service_unavailable",
    "message": "The free tier of the AudioLab API is paused for the moment. Your audio was not processed and nothing was counted. Paid keys keep working, and the browser labs at https://audiolab.tools measure without the API. Details: https://audiolab.tools/docs/errors#service_paused",
    "code": "service_paused",
    "docs_url": "https://audiolab.tools/docs/errors#service_paused"
  }
}

HTTP 429 · too_many_jobs

Too many analyses running at once on this key

Cause. A key may have this many analyses running at the same time (jobs from /v1/jobs, batches from /v1/batch and requests to the analysis routes, large or small, counted together): 5 on the free tier, 10 on Plus, 25 on Studio and 50 on Enterprise, and 1 on the keyless trial. A job counts until it is done or has failed. This protects the shared capacity: a burst from one key must not slow down everyone else. The new job, batch or request was not started and no call was counted toward your monthly allowance. This limit is separate from the requests-per-minute limit. Added 21 November 2026.

What to do. Wait until one of your analyses is done (GET /v1/jobs/{id}, or wait for its webhook, or for the answer of your request) and send the next. Keep a queue on your side that never holds more than the limit in flight, and wait the number of seconds in the Retry-After header (10) when you do hit it. The "usage" field shows the limit and how many are running. Need more in parallel? Email partners@audiolab.tools.

{
  "error": {
    "type": "rate_limited",
    "message": "This key already has 5 analyses running at the same time (jobs, batches and requests together), and it allows 5. No call was counted toward your monthly allowance. Wait until one is done (GET /v1/jobs/{id}, or wait for its webhook, or for the answer of your request) and send the next; a queue on your side that keeps at most 5 in flight avoids this. Retry-After says how long to wait. Limits per plan: https://audiolab.tools/docs/errors#too_many_jobs",
    "code": "too_many_jobs",
    "docs_url": "https://audiolab.tools/docs/errors#too_many_jobs",
    "usage": {
      "window": "concurrent",
      "limit": 5,
      "used": 5
    }
  }
}

HTTP 503 · service_busy

The service is busy: try again in a few seconds

Cause. Across all customers together, the number of analyses (jobs, batches and requests) running at the same time reached its ceiling. This protects the service for everyone. Your job or request was not started and no call was counted. Added 21 November 2026.

What to do. Wait the number of seconds in the Retry-After header (15) and send the job again. If it keeps happening for your key, email partners@audiolab.tools with the time of the request.

{
  "error": {
    "type": "service_unavailable",
    "message": "The service is busy right now: too many analyses are running across all customers. Your request was not started and no call was counted. Try again in about 15 seconds. Details: https://audiolab.tools/docs/errors#service_busy",
    "code": "service_busy",
    "docs_url": "https://audiolab.tools/docs/errors#service_busy"
  }
}

HTTP 409 · idempotency_conflict

This Idempotency-Key was already used for a different request

Cause. You sent an Idempotency-Key that belongs to a job from the last 24 hours, but the request is not the same as the one that made that job. Compared are the endpoint, the url or objectPath, every option (target, startSec, durationSec and the rest), the webhook, the reference and the fileName. We did not start a job, did not return the old one and counted no call, because handing you the result of another window or another file under the same key would look like success. Added 22 November 2026.

What to do. To get the earlier job back, repeat exactly the same request with the same key: the answer is that job (status 200, header Idempotent-Replayed: true). For a different request, send a new Idempotency-Key, for example one that includes the window or the file name. The message names the earlier job, and GET /v1/jobs/{id} shows what it was.

{
  "error": {
    "type": "conflict",
    "message": "This Idempotency-Key was already used within the last 24 hours for a different request (another endpoint, file, option, window, webhook, reference or file name), so no job was started and the earlier one was not returned. The earlier job is 0b9c1d2e-3f4a-4b5c-8d6e-7f8091a2b3c4. Repeat exactly the same request to get it back, or send a new Idempotency-Key for a new request. Details: https://audiolab.tools/docs/errors#idempotency_conflict",
    "code": "idempotency_conflict",
    "docs_url": "https://audiolab.tools/docs/errors#idempotency_conflict"
  }
}

MCP errors

These come from the MCP server itself, before or after it talks to the API. An error from the API passes through with the API's code.

MCP · missing_api_key

No API key configured (MCP server or Python client)

Cause. The client has no AudioLab key. For the MCP server: the call needs a key (since 0.5.0 the npm package runs single analyses of a URL or a file up to 4 MB without one, on the keyless trial, but a batch or a larger file needs AUDIOLAB_API_KEY), or the client did not send a bearer key to the remote /mcp endpoint, which always needs one. For the Python client: neither api_key nor the AUDIOLAB_KEY environment variable is set, and the call needs a key (usage, a batch, an upload of a file over 4 MB).

What to do. Make a free key on /account and put it in the MCP client configuration as shown on /connect, or pass api_key=... to the Python client or set AUDIOLAB_KEY.

MCP · api_timeout

The analysis took too long (a job, the MCP server or the Python client)

Cause. A job (/v1/jobs) whose analysis did not finish within 270 seconds, or whose worker stopped, ends as failed with this code; the 270-second case also goes to your webhook. The MCP server and the Python client give this code when they waited for the API and gave up. Long files and busy moments can do this.

What to do. Create the job again, or analyse a shorter section of the file. For the loudness of a long file, mixlab/analyze and mixlab/check-target handle up to 3 hours. The Python client waits 330 seconds by default (timeout=...).

MCP · api_unreachable

The API could not be reached (MCP server or Python client)

Cause. The MCP server or the Python client could not connect to audiolab.tools: no network, a firewall, or a proxy in between.

What to do. Check that the machine can open https://audiolab.tools/v1 and that no proxy blocks it. Check https://audiolab.tools/status.

MCP · invalid_input

The call is missing something (MCP server or Python client)

Cause. The MCP tool needs a URL or a local path to an audio file and got neither, or got both. The Python client was given something that is not a public URL or the path of a file it can read, a file that is empty, or a base_url that is not https.

What to do. Give exactly one of url or path (path works only with the local MCP server). In Python give a public https URL or the path of a file you can read.

Something here that does not match what you see? Email support@audiolab.tools with the time of the request and the code. The status of the service is on /status.