Questions · Published 2026-11-29 · Updated 2026-11-29 · AgentiSend
Resend errors: 403, 422, 429
Resend errors 403, 422 and 429 are the named refusals on Resend's error reference, and 1010 is the missing User-Agent case.
That reference listed 35 rows under 25 names on 28 November 2026 (Errors). The Node types published the same day, [email protected], name a different set. Both lists are below, with the suggested action from the reference.
We make AgentiSend. The Resend names come first. One section at the end is the same refusal on this API. Their reference has a suggested action and no fix field. Our body has both, and name is the field their SDK reads.
How a Resend error is shaped
The published type ErrorResponse is three fields: message, statusCode and name ([email protected] types, 28 November 2026). The API introduction requires a User-Agent header and says a request without one is rejected with status 403. Its note on that refusal is error code 1010. 1010 is not a name in the error reference and not a name in that type.
User-Agent: my-app/1.0The introduction's status table is one line per status. It says 403 means the API key was invalid, and 429 means the rate limit was exceeded. The named list fetched the same day is wider: 403 has 11 rows, 422 has 6, and 429 has 3.
Error code 1010
If you're getting a 403 error with error code 1010 despite having a valid API key, a missing User-Agent header is likely the cause. The introduction says Resend's SDKs and CLI set the header, and a direct request has to set it too. Their note points at custom headers for the request. Set User-Agent to a short product string. A missing header is not an invalid key, even when the introduction's one-line table describes 403 that way.
Resend 403
| Name | Message | Suggested action |
|---|---|---|
email_above_quota | You can't retrieve this email's content because it was above quota when received. | Upgrade your plan to increase your quota. |
invalid_permission | Access token is missing required scopes. | Request an access token that includes the scopes required by this endpoint. |
restricted_api_key | API key is not active | Check the API key on the API Keys page and create a new one if needed. |
suspended_api_key | This API key is suspended | Contact support if you believe this is a mistake. |
validation_error | You can only send testing emails to your own email address (youremail@domain.com). To send emails to other recipients, please verify a domain at resend.com/domains, and change the from address to an email using this domain. | In Resend's Domain page, add and verify a domain for which you have DNS access. This allows you to send emails to addresses beyond your own. Learn more about resolving this error. |
validation_error | The domain.com domain is not verified. Please, add and verify your domain. | Make sure the domain in your API request's from field matches a domain you've verified in Resend. Update your API request to use your verified domain, or add and verify the domain you're trying to use. Learn more about resolving this error. |
validation_error | The example.com domain has been registered already. | Verify you are signed in to the correct Resend account and check whether a teammate already added the domain. If you still cannot access it, contact support. Learn more about resolving this error. |
validation_error | You have reached the inboxes included in your plan. Enable pay-as-you-go for inboxes at https://resend.com/settings/usage to add more. | Every plan includes 3 inboxes. A team admin can enable pay-as-you-go for inboxes in your usage settings, after which each extra inbox costs $1 per month. |
validation_error | You have reached the inboxes included in your plan. Upgrade your Transactional plan to turn on pay-as-you-go for inboxes. | Every plan includes 3 inboxes, and pay-as-you-go for inboxes needs a paid Transactional plan. Upgrade your plan, then enable pay-as-you-go for inboxes in your usage settings. |
validation_error | You have reached the inboxes included in your plan. Pay-as-you-go for inboxes isn't available for your billing setup. | Teams billed through Stripe Projects cannot enable pay-as-you-go for inboxes. Contact support if you need more than the 3 included inboxes. |
validation_error | You have reached the inboxes included in your plan. Manage pay-as-you-go for inboxes at https://resend.com/settings/usage to add more. | Every plan includes 3 inboxes. Open your usage settings to enable pay-as-you-go for inboxes, which needs a paid Transactional plan. |
Two of those validation_error rows are the domain problem: the testing-only from address, and a from domain that is not verified. The records, the wait and the per-provider mistakes are on why domain verification fails and on what domain_not_verified means. Sending before a domain exists is on testing without delivering and test addresses. Resend's own page for the resend.dev testing limit was 403 Error Using resend.dev Domain on 28 November 2026. The error reference also links a domain-mismatch article and a domain-already-registered article. On that date the first redirected to the error reference, and the second redirected to the domain claim page.
restricted_api_key is status 401 when the message is that the key can only send, and status 403 when the message is that the key is not active. Creating and scoping a key is a separate question from this list.
A broadcast past the contact quota is not a row on the error reference. The usage limits page says that refusal is status 403, name validation_error, message "You have reached your contacts quota. Please upgrade your plan to send more emails.".
Resend 422
| Name | Message | Suggested action |
|---|---|---|
forge_unavailable | Forge is not available for this domain. | The message names the reason: a dedicated IP, a legacy DKIM setup, a receive-only domain or a pending claim. Contact support@resend.com if you need Forge on it. |
invalid_attachment | Attachment must have either a content or path. | Attachments must either have a content (strings, Buffer, or Stream contents) or path to a remote resource (better for larger attachments). |
invalid_parameter | The parameter must be a valid UUID. | Check the value and make sure it's valid. |
missing_required_field | The request body is missing one or more required fields. | Check the error message to see the list of missing fields. |
missing_required_parameter | The request is missing one or more required parameters. | Check the error message to see the list of missing parameters. |
return_path_unavailable | The requested return path cannot be used for Forge. | Choose a return_path label that has no DNS records yet and differs from the return path already published. |
missing_required_field means the body left out something the call cannot run without. The message names the fields. invalid_attachment means the attachment has neither content nor path. invalid_parameter is the row whose message says a parameter must be a UUID. The three Forge rows (forge_unavailable, return_path_unavailable, and forge_not_enabled at 409) are Resend's domain feature. This API does not offer that feature, so those names are not a path you call here.
On this API an empty POST /emails is the body on what missing_required_field means: name is missing_required_field, error.code is validation_error, and the status is 400. GET /emails/{id} reads a message that was accepted. POST /emails/preflight checks the same body and does not send it.
curl -sS -X POST https://api.agentisend.com/emails \
-H "Authorization: Bearer $AGENTISEND_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"from":"billing@yourdomain.com","to":"delivered@simulator.agentisend.com","subject":"Your receipt","text":"Thanks — the details are attached."}'201
{
"id": "9c8f8f0e-3d1a-4d3f-9a1e-2b7c1a0f5e42",
"simulated": true,
"warnings": []
}Resend 429
| Name | Message | Suggested action |
|---|---|---|
daily_quota_exceeded | You have exceeded your daily email sending quota. | Upgrade your plan to remove the daily quota limit or wait for the quota to reset at midnight UTC. Both sent and received emails count towards this quota. |
monthly_quota_exceeded | You have exceeded your monthly email sending quota. | Upgrade your plan to increase the monthly email quota, or on a paid plan turn on pay-as-you-go to keep sending past it. Both sent and received emails count towards this quota. |
rate_limit_exceeded | Too many requests. Please limit the number of requests per second. Or contact support to increase rate limit. | Read the response headers and reduce the rate at which you request the API. This can be done by introducing a queue mechanism or reducing the number of concurrent requests per second. If you have specific requirements, contact support to request a rate increase. |
Those three names are the whole 429 list on the error reference. daily_quota_exceeded and monthly_quota_exceeded are quotas. rate_limit_exceeded is the request rate. The requests-per-second figure, which plans have a daily quota, and the response headers are on Resend's usage limits. This page does not restate them. The same refusals on this API, and which of them are safe to retry, are on how to handle rate limits, what rate_limit_exceeded means and what rate_ceiling_exceeded means.
Every other name
400
| Name | Message | Suggested action |
|---|---|---|
invalid_idempotency_key | Idempotency keys, if present, must have between 1 and 256 characters. | Retry with a valid idempotency key. |
validation_error | An error was found with one or more fields in the request. | The message will contain more details about what field and error were found. |
validation_error | API key is invalid | Check the key on the API Keys page and create a new one if it was deleted. Every endpoint except sending returns this for a key that doesn't exist or was deleted, and every endpoint returns it when the Authorization header isn't a valid key. |
401
| Name | Message | Suggested action |
|---|---|---|
missing_api_key | Missing API Key | Include the following header in the request: Authorization: Bearer YOUR_API_KEY. |
restricted_api_key | This API key is restricted to only send emails. | Make sure the API key has Full access to perform actions other than sending emails. |
validation_error | API key is invalid | Check the key on the API Keys page and create a new one if it was deleted. The sending endpoints return this for a key that doesn't exist, was deleted, or isn't active. |
404
| Name | Message | Suggested action |
|---|---|---|
not_found | The requested endpoint does not exist. | Change your request URL to match a valid API endpoint. |
405
| Name | Message | Suggested action |
|---|---|---|
method_not_allowed | Method is not allowed for the requested path. | Change your API endpoint to use a valid method. |
409
| Name | Message | Suggested action |
|---|---|---|
concurrent_idempotent_requests | There is another request in progress with the same idempotency key. | Try the request again later. |
forge_not_enabled | Forge is not enabled on this domain. | Call POST /domains/{id}/forge first. |
invalid_idempotent_request | This idempotency key has been used with this HTTP method and endpoint within the last 24 hours, but the request body was modified and doesn't match the original request. | Change your idempotency key or payload. |
resource_locked | Another request is already updating this resource. | Retry the request after a short delay. |
500
| Name | Message | Suggested action |
|---|---|---|
application_error | An unexpected error occurred. | Try the request again later. If the error does not resolve, check our status page for service updates. |
503
| Name | Message | Suggested action |
|---|---|---|
dns_lookup_failed | Could not check DNS for the requested host. | Retry the request in a few seconds. |
service_unavailable | API is temporarily unavailable | Try the request again later. Check our status page for service updates. |
Where the SDK type and the reference disagree
Names in the [email protected] type that are not on the error reference: invalid_api_key, invalid_from_address, invalid_access, invalid_region, security_error, internal_server_error.
Names on the error reference that are not in that type: dns_lookup_failed, email_above_quota, forge_not_enabled, forge_unavailable, invalid_permission, missing_required_parameter, resource_locked, return_path_unavailable, service_unavailable, suspended_api_key.
Branch on the name the response actually returned. A name that exists only in the type, or only on the reference, is still a real string one of those two sources published on 28 November 2026.
The same refusal on AgentiSend
A refusal from this API is JSON with statusCode, name and message at the top, which is what the Resend SDK reads, plus an error object with code, message, fix, docs_url and retryable. name comes from toResendName for that code. fix is the next call. Their reference has no fix field.
The table is the catalogue, not a second copy of Resend's sentences. A row that says no REST operation throws that code is kept so a switch on Resend's name still resolves. POST /api-keys replaces a revoked key. GET /usage is the call a quota fix points at.
| Situation | Code | Status | Name on the body | Retryable | Message | Fix |
|---|---|---|---|---|---|---|
| A field on the request is wrong | validation_error | 400 | validation_error | no | Error in one or more fields. | Correct the fields listed in the error details and retry the request. |
| The body is missing a required field. No REST operation throws this code. | missing_required_field | 422 | missing_required_field | no | Body is missing required fields. | Include from, to and subject in POST /emails. |
| An attachment has neither content nor a path | invalid_attachment | 422 | invalid_attachment | no | Each attachment needs content (base64) or path. | Provide attachment.content or attachment.path in POST /emails. |
| The from domain is not verified | domain_not_verified | 403 | validation_error | no | This sending domain is not verified. | If it is pending, publish the required records from GET /domains/:id; checks continue for 72 hours. Test now by sending to an address ending in @simulator.agentisend.com. If it is not registered, POST /domains first. If it is failed, GET /domains/:id names the record to fix, then POST /domains/:id/verify to reopen the window. |
| The onboarding sender is used for someone outside the account | onboarding_recipient_not_a_member | 403 | application_error | no | The onboarding sender can only mail this account's own members — the addresses they sign in with. | Send to a member sign-in address, or verify a domain with POST /domains and send from that domain. |
| The key is limited to sending | restricted_api_key | 403 | restricted_api_key | no | This API key is restricted to sending only. | Use a full_access key (POST /api-keys with permission=full_access) for management endpoints. |
| The key is invalid or revoked | invalid_api_key | 403 | invalid_api_key | no | API key is invalid or revoked. | Create a new key with POST /api-keys; deleted keys cannot be restored. |
| The idempotency key is the wrong length | invalid_idempotency_key | 400 | application_error | no | Idempotency-Key must be 1-256 characters. | Send a non-empty Idempotency-Key header of at most 256 characters. |
| The same idempotency key is already in progress | idempotency_in_flight | 409 | concurrent_idempotent_requests | yes | A request with this Idempotency-Key is still in progress. | Wait and retry with the same Idempotency-Key to receive the original response. |
| The same idempotency key was reused with a different body | idempotency_payload_mismatch | 409 | invalid_idempotent_request | no | Same Idempotency-Key was used with a different payload. | Reuse the exact same body for retries, or send a new Idempotency-Key for a new request. |
| Too many requests in the window | rate_limit_exceeded | 429 | rate_limit_exceeded | yes | Too many requests. | Back off and retry honoring the Retry-After header. |
| The key has used its per-minute ceiling | rate_ceiling_exceeded | 429 | rate_limit_exceeded | yes | Per-minute rate ceiling for this key is exhausted. | Wait the seconds below and send the same request again. Raising the ceiling is a person’s decision, made in the console; a key cannot raise its own. |
| The account has used the emails included in its plan | plan_limit_reached | 402 | monthly_quota_exceeded | no | This account has used every email included in its plan for the current period. | Upgrade in Settings → Billing, or wait until the reset date in this error. |
| The key has used its budget for the period | agent_budget_exceeded | 402 | monthly_quota_exceeded | no | Key budget for the current period is exhausted. | Wait for the period to reset — get_agent_budget and GET /limits/keys/:id both say when. Raising a budget is a person’s decision, made in the console; a key cannot raise its own. |
| Resend name for a daily quota. No REST operation throws this code. | daily_quota_exceeded | 429 | daily_quota_exceeded | no | Account daily quota reached. | Upgrade the plan or wait for the UTC reset; see GET /usage for what this account has spent. |
| Resend name for a monthly quota. No REST operation throws this code. | monthly_quota_exceeded | 429 | application_error | no | Account monthly quota reached. | Upgrade the plan or wait for the cycle reset; see GET /usage for what this account has spent. |
plan_limit_reached is status 402, and the name on that body is monthly_quota_exceeded. agent_budget_exceeded is also 402 and the same name. A metered MCP tool can refuse with code monthly_quota_exceeded. On a REST response the catalogue code monthly_quota_exceeded has name application_error, which is the row in the table, and no REST operation throws it. That meter is not POST /emails. daily_quota_exceeded resolves as a name and no REST operation throws it. Read retryable before sleeping: a 429 with retryable false does not succeed because you waited. Plan limit reached is the plan row. AgentiSend API docs shows one field-error body in full.
FAQ
What is a Resend 403 error?
A Resend 403 is a refusal with status 403. The error reference gives that status several names, including validation_error for a testing-only from address or an unverified domain, restricted_api_key when the key is not active, and suspended_api_key. Error code 1010 is also a 403. The API introduction says it is a missing User-Agent header, and it is not a name on the error reference.
What is a Resend 422 error?
A Resend 422 is a body or parameter the API will not accept. The names at status 422 on the error reference are forge_unavailable, invalid_attachment, invalid_parameter, missing_required_field, missing_required_parameter and return_path_unavailable. The message names the field or the parameter.
What is a Resend 429 error?
A Resend 429 on the error reference is one of three names: daily_quota_exceeded, monthly_quota_exceeded or rate_limit_exceeded. The first two are quotas. The third is how many requests you make per second. The numbers and the headers are on Resend's usage limits page, linked in the 429 section.
What is Resend error code 1010?
Resend error code 1010 is a 403 for a request that has no User-Agent header. The API introduction says that, including when the API key is valid. The error reference does not list 1010 as a name. Set User-Agent to a short product string. Resend's SDKs and CLI set it for you.
Why is Resend not working?
Read the status and the name before changing the key. A 403 whose message is about testing emails or an unverified domain is the domain setup linked above. A 422 names a field. A 429 is a quota or the request rate. A 403 with code 1010 is a missing User-Agent. application_error at 500 and the two 503 names are Resend's service, and their suggested action points at their status page.
Does AgentiSend return Resend's error names?
The JSON has name, message and statusCode, which the Resend SDK reads, and an error object with code, message and fix. name is Resend's name when the catalogue maps the code, and application_error when it does not. The table in the AgentiSend section is that map, including the codes no REST operation throws.