تعلم

الأخطاء

كل رمز خطأ، ما الذي يسببه وكيف يمكن إصلاحه.

Sendtern uses standard HTTP status codes. Every error response uses the same JSON shape with name, message, and statusCode, so you can handle failures in one place.

1{
2  "name": "validation_error",
3  "message": "Provide at least one recipient",
4  "statusCode": 422
5}
الحالةالاسمماذا نفعل
400invalid_jsonThe request body is malformed JSON (mapped to validation_error on /resend)
401invalid_api_keyThe Bearer API key is invalid, malformed, or revoked
401missing_api_keyThe Authorization header is missing (returned on /resend compatibility endpoints)
401 / 403restricted_api_keyReturned on /resend when a sending-only or domain-scoped key lacks permission for the operation
403insufficient_permissionsThe key is Sending only (sending_access) and the endpoint requires Full access (full_access)
403domain_scopeThe key is restricted to a specific verified domain and cannot send for another domain or call project-wide endpoints
403domain_not_verifiedVerify the exact from sender domain in the dashboard before sending live mail
404لم يوجدThe resource ID doesn't exist in this workspace
409idempotency_conflictThe same Idempotency-Key was reused with a different request body (invalid_idempotent_request on /resend)
413body_too_largeThe JSON request body exceeds the 1 MB limit
415unsupported_media_typeSend requests with Content-Type: application/json
422validation_errorCheck message for the invalid field, recipient count, or missing template variable
429تجاوز الحد الأقصى للمعدلWorkspace exceeded 180 requests per minute. Wait for Retry-After seconds, then retry
429daily_limit / monthly_limitWorkspace transactional recipient quota reached for the UTC day or month (daily_quota_exceeded / monthly_quota_exceeded on /resend)
500خطأ داخليRetry with exponential backoff and the same Idempotency-Key (application_error on /resend)

متى تحاول مجددا

Retry 429 (rate_limit_exceeded) and 5xx responses with exponential backoff and the same Idempotency-Key. Never retry other 4xx errors without fixing the request—the response will be the same.

تتم معالجة الأسئلة المرسلة للحصول على إجابات الذكاء الاصطناعي بواسطة DeepSeek. يرجى استبعاد بيانات الاعتماد والبيانات الشخصية.