Bỏ qua để đến nội dung

Lỗi

Lỗi sử dụng problem details theo RFC 9457 với kiểu nội dung application/problem+json và một code ổn định, máy có thể đọc được.

{
"type": "https://meetingize.com/docs/api/errors#insufficient_scope",
"title": "Insufficient scope",
"status": 403,
"detail": "This endpoint requires the scope 'read:transcripts'.",
"instance": "/api/v1/meetings/1b9e.../transcript",
"code": "insufficient_scope",
"request_id": "req_5f0c..."
}

Các lỗi xác thực dữ liệu bổ sung errors: [{"field": "...", "message": "..."}].

HTTPcodeCần làm gì
400invalid_request, validation_error, invalid_cursorsửa yêu cầu (xem errors)
401missing_credentials, invalid_api_key, invalid_token, api_key_revoked, api_key_expiredkiểm tra thông tin xác thực
402insufficient_balance, spend_cap_reachednạp thêm tín dụng, bật thanh toán theo nhu cầu hoặc nâng trần (thanh toán)
403insufficient_scope, api_disableddùng thông tin xác thực có đúng scope
404not_foundđối tượng không tồn tại hoặc thuộc về một tài khoản khác
405method_not_allowed
409transcript_not_ready, summary_not_readythử lại sau hoặc chờ webhook
409idempotency_key_in_useyêu cầu đầu tiên dùng khóa này vẫn đang chạy
413file_too_largetệp bị giới hạn ở 2 GB
415unsupported_media_typegửi JSON hoặc multipart đúng như tài liệu mô tả
422idempotency_key_reused, invalid_audio, unprocessable
429rate_limited, parallel_processing_limitchờ (Retry-After) rồi thử lại, xem giới hạn
500internal_errorthử lại với backoff, liên hệ bộ phận hỗ trợ kèm request_id

Giới hạn tốc độ yêu cầu theo từng gói và hạn mức xử lý song song được mô tả ở trang giới hạn.

  • Thử lại 429 và 5xx với exponential backoff (ví dụ 1 giây, 2 giây, 4 giây… tối đa 1 phút), tuân thủ Retry-After.
  • Luôn gửi Idempotency-Key trên POST để việc thử lại an toàn.
  • Không thử lại các lỗi 4xx khác nếu chưa thay đổi yêu cầu.