त्रुटियाँ
त्रुटियाँ application/problem+json content type और स्थिर, machine-readable code के साथ RFC 9457 problem details का उपयोग करती हैं।
{ "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..."}Validation त्रुटियों में errors: [{"field": "...", "message": "..."}] जुड़ जाता है।
त्रुटि कोड
Section titled “त्रुटि कोड”| HTTP | code | क्या करें |
|---|---|---|
| 400 | invalid_request, validation_error, invalid_cursor | अनुरोध ठीक करें (errors देखें) |
| 401 | missing_credentials, invalid_api_key, invalid_token, api_key_revoked, api_key_expired | credential जाँचें |
| 402 | insufficient_balance, spend_cap_reached | credits जोड़ें, on-demand सक्षम करें या सीमा बढ़ाएँ (बिलिंग) |
| 403 | insufficient_scope, api_disabled | सही scope वाला credential उपयोग करें |
| 404 | not_found | object मौजूद नहीं है या किसी अन्य खाते का है |
| 405 | method_not_allowed | |
| 409 | transcript_not_ready, summary_not_ready | बाद में पुनः प्रयास करें या webhook की प्रतीक्षा करें |
| 409 | idempotency_key_in_use | इस key वाला पहला अनुरोध अभी चल रहा है |
| 413 | file_too_large | files 2 GB तक सीमित हैं |
| 415 | unsupported_media_type | दस्तावेज़ के अनुसार JSON या multipart भेजें |
| 422 | idempotency_key_reused, invalid_audio, unprocessable | |
| 429 | rate_limited, parallel_processing_limit | प्रतीक्षा करें (Retry-After) और पुनः प्रयास करें, सीमाएँ देखें |
| 500 | internal_error | backoff के साथ पुनः प्रयास करें, request_id के साथ support से संपर्क करें |
Rate limits और कोटे
Section titled “Rate limits और कोटे”प्रति plan अनुरोध rate limits और parallel processing कोटा सीमाएँ पृष्ठ पर वर्णित हैं।
Retry सलाह
Section titled “Retry सलाह”429और5xxको exponential backoff के साथ retry करें (उदाहरण के लिए 1 s, 2 s, 4 s… अधिकतम 1 मिनट तक),Retry-Afterका पालन करते हुए।POSTपर हमेशाIdempotency-Keyभेजें ताकि retries सुरक्षित रहें।- अनुरोध बदले बिना अन्य
4xxको retry न करें।