배우기

오류

모든 오류 코드, 원인 및 해결 방법.

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.

AI 답변을 위해 전송된 질문은 DeepSeek에서 처리합니다. 자격 증명과 개인정보는 제외하세요.