TaskInfer
Docs

Errors and troubleshooting

Understand TaskInfer HTTP errors without relying on provider-specific behavior.

TaskInfer returns standard HTTP status codes and neutral error messages. Public errors describe what the client can act on without exposing internal implementation details.

StatusMeaningWhat to check
400Invalid requestRequired fields, field values, and response-format constraints.
401Invalid API keyThe bearer header, key status, and workspace access.
402Insufficient creditsWhether the workspace associated with the API key has available credits.
413Upload too largeThe uploaded file must not exceed 100 MB.
502Inference request failedRetry only when it is safe for your application to repeat the task.
503Capability unavailableThe selected TaskInfer capability is temporarily unavailable.

Insufficient credits

A 402 response means the workspace associated with the API key does not have enough credits for the request. Open the workspace list, select that workspace, and review its Billing page before retrying.

Common validation issues

Timestamps rejected

Set response_format=verbose_json whenever you send timestamp_granularities[].

Speaker labels rejected

Set both speaker_labels=true and response_format=verbose_json.

Upload rejected

Confirm the multipart field is named file and the uploaded payload is 100 MB or smaller.